workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 18 Jan 2006 01:05:47 +0000 (01:05 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Wed, 18 Jan 2006 01:05:47 +0000 (01:05 +0000)
lib/python/python.cpp

index f467bc8..2d84287 100644 (file)
@@ -1,5 +1,8 @@
 #include <lib/python/python.h>
 #include <lib/base/eerror.h>
+                /* avoid warnigs :) */
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
 #include <Python.h>
 
 extern "C" void init_enigma();