From 31053d2027d3db9423edcfc70a725b6ca3a7c84c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 14 Aug 2009 16:54:44 +0200 Subject: [PATCH] python: avoid "_POSIX_C_SOURCE" redefinition warning * src/generator.ml: Include *before* to avoid redefinition warning about "_POSIX_C_SOURCE". --- src/generator.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 1.8.3.1