python: avoid "_POSIX_C_SOURCE" redefinition warning
[libguestfs.git] / src / generator.ml
index fa0d33c..c4be1ed 100755 (executable)
@@ -7422,12 +7422,12 @@ and generate_python_c () =
   generate_header CStyle LGPLv2;
 
   pr "\
+#include <Python.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 
-#include <Python.h>
-
 #include \"guestfs.h\"
 
 typedef struct {