From: Jim Meyering Date: Fri, 14 Aug 2009 14:54:44 +0000 (+0200) Subject: python: avoid "_POSIX_C_SOURCE" redefinition warning X-Git-Tag: 1.0.68~47 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=31053d2027d3db9423edcfc70a725b6ca3a7c84c;p=libguestfs.git python: avoid "_POSIX_C_SOURCE" redefinition warning * src/generator.ml: Include *before* to avoid redefinition warning about "_POSIX_C_SOURCE". --- diff --git a/src/generator.ml b/src/generator.ml index fa0d33c..c4be1ed 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -7422,12 +7422,12 @@ and generate_python_c () = generate_header CStyle LGPLv2; pr "\ +#include + #include #include #include -#include - #include \"guestfs.h\" typedef struct {