summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-01-19 13:10:54 -0800
committerTingPing <tingping@tingping.se>2013-01-19 13:10:54 -0800
commit8b49f5f78715bdc0f1a4fcdccc5a414dd6514096 (patch)
treec224e85b7ebb5a6c9854211dc7f11924a3ca2b0e /plugins/python
parenta46f89998c4faa4b4768e18333ec98c5107ba90b (diff)
parent4e0daf047ed14e54ea7eeb2c1547cbe06332fbf4 (diff)
Merge pull request #383 from RichardHitt/warnings
Correct almost all compiler warning issues
Diffstat (limited to 'plugins/python')
-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"