Work around macro redefinition warning

This commit is contained in:
Stephan Bergmann
2012-02-16 18:15:04 +01:00
parent ca98018092
commit a545badd65
+4 -2
View File
@@ -26,6 +26,10 @@
*
************************************************************************/
/* make Python.h go first as a hack to work around _POSIX_C_SOURCE redefinition
warnings: */
#include "Python.h"
#include "sal/config.h"
#include <stdlib.h>
@@ -36,8 +40,6 @@
#endif
#include <dlfcn.h>
#include "Python.h"
#include "rtl/string.h"
/* A wrapper around libpyuno.so, making sure the latter is loaded RTLD_GLOBAL