build and link static libraries without libtool
[enigma2.git] / lib / python / connections.h
index 8ff3a620e30cff1e48f72d45676d26caf29936a4..b4cd1c7996452d09cdd3700861ce1458130a2129 100644 (file)
@@ -3,11 +3,6 @@
 
 #include <libsig_comp.h>
 
-               /* avoid warnigs :) */
-#include <features.h>
-#undef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 200112L
-
 #include <lib/python/python.h>
 
 class PSignal
@@ -18,6 +13,9 @@ public:
        PSignal();
        ~PSignal();
        void callPython(SWIG_PYOBJECT(ePyObject) tuple);
+#ifndef SWIG
+       PyObject *getSteal(bool clear=false);
+#endif
        PyObject *get();
 };