workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 17 Jan 2006 23:17:38 +0000 (23:17 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 17 Jan 2006 23:17:38 +0000 (23:17 +0000)
lib/dvb_ci/dvbci_ui.h

index 3dc62e2..abf6173 100644 (file)
@@ -2,6 +2,9 @@
 #define __dvbci_ui_h
 
 #include <string>
 #define __dvbci_ui_h
 
 #include <string>
+                /* avoid warnigs :) */
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
 #include <Python.h>
 
 #define MAX_SLOTS      2       
 #include <Python.h>
 
 #define MAX_SLOTS      2