Missed a _GNU_SOURCE define

This commit is contained in:
Vincent Castellano 2015-05-23 18:28:38 -07:00
parent 6aa4dabf5f
commit 8c3adff675

View File

@ -21,7 +21,13 @@
#include "config.h" #include "config.h"
#endif #endif
#define _GNU_SOURCE #ifdef USE_PYTHON
# include "python-tg.h"
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
@ -59,9 +65,6 @@
# include "lua-tg.h" # include "lua-tg.h"
#endif #endif
#ifdef USE_PYTHON
# include "python-tg.h"
#endif
//#include "mtproto-common.h" //#include "mtproto-common.h"