summary refs log tree commit diff stats
path: root/plugins/python/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python/python.c')
-rw-r--r--plugins/python/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 2e298c35..5f98c6c7 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -66,6 +66,7 @@
 #endif
 
 #include "hexchat-plugin.h"
+#undef _POSIX_C_SOURCE	/* Avoid warning: also in /usr/include/features.hfrom glib.h */
 #include "Python.h"
 #include "structmember.h"
 #include "pythread.h"