Missed a _GNU_SOURCE define
This commit is contained in:
parent
6aa4dabf5f
commit
8c3adff675
11
interface.c
11
interface.c
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user