From 8c3adff675641a76d00368291168e1d3276a7648 Mon Sep 17 00:00:00 2001 From: Vincent Castellano Date: Sat, 23 May 2015 18:28:38 -0700 Subject: [PATCH] Missed a _GNU_SOURCE define --- interface.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/interface.c b/interface.c index ce472cd..d6a83bf 100644 --- a/interface.c +++ b/interface.c @@ -21,7 +21,13 @@ #include "config.h" #endif -#define _GNU_SOURCE +#ifdef USE_PYTHON +# include "python-tg.h" +#endif + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include @@ -59,9 +65,6 @@ # include "lua-tg.h" #endif -#ifdef USE_PYTHON -# include "python-tg.h" -#endif //#include "mtproto-common.h"