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 f467bc86dc7d1a63a4827e72d38c4e5901a7f715..2d84287baefe3195fac2bb6292f9b13ee368fb10 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();