workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
[vuplus_dvbapp] / lib / dvb_ci / dvbci_ui.h
index 3dc62e2..abf6173 100644 (file)
@@ -2,6 +2,9 @@
 #define __dvbci_ui_h
 
 #include <string>
+                /* avoid warnigs :) */
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
 #include <Python.h>
 
 #define MAX_SLOTS      2