From aeb5d15871cca7fe5eba806431b4e63fee015a94 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 15 Dec 2014 22:57:27 -0500 Subject: More consistently include config.h --- plugins/python/python.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/python') diff --git a/plugins/python/python.c b/plugins/python/python.c index d662557d..f0e4aa72 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -51,6 +51,8 @@ * */ +#include "config.h" + #include #include #include @@ -64,9 +66,9 @@ #include #endif -#include "../../config.h" #include "hexchat-plugin.h" -#undef _POSIX_C_SOURCE /* Avoid warning: also in /usr/include/features.h from glib.h */ +#undef _POSIX_C_SOURCE /* Avoid warnings from /usr/include/features.h */ +#undef _XOPEN_SOURCE #include #include #include -- cgit 1.4.1