aboutsummaryrefslogtreecommitdiff
path: root/lib/python/python.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/python.cpp')
-rw-r--r--lib/python/python.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/python.cpp b/lib/python/python.cpp
index f467bc86..2d84287b 100644
--- a/lib/python/python.cpp
+++ b/lib/python/python.cpp
@@ -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();