fix #include "config.h" for all source files
This commit is contained in:
parent
dd40e9b36f
commit
e27a27c4a0
4
binlog.c
4
binlog.c
@ -16,7 +16,11 @@
|
|||||||
|
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_LUA
|
#ifdef USE_LUA
|
||||||
# include "lua-tg.h"
|
# include "lua-tg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,7 +17,10 @@
|
|||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
7
loop.c
7
loop.c
@ -16,13 +16,16 @@
|
|||||||
|
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
#define READLINE_CALLBACKS
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define READLINE_CALLBACKS
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef READLINE_GNU
|
#ifdef READLINE_GNU
|
||||||
|
2
lua-tg.c
2
lua-tg.c
@ -1,4 +1,6 @@
|
|||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_LUA
|
#ifdef USE_LUA
|
||||||
#include "lua-tg.h"
|
#include "lua-tg.h"
|
||||||
|
6
main.c
6
main.c
@ -16,8 +16,12 @@
|
|||||||
|
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
#define _GNU_SOURCE
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
Copyright Nikolay Durov, Andrey Lopatin 2012-2013
|
Copyright Nikolay Durov, Andrey Lopatin 2012-2013
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
Copyright Nikolay Durov, Andrey Lopatin 2012-2013
|
Copyright Nikolay Durov, Andrey Lopatin 2012-2013
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
5
net.c
5
net.c
@ -16,6 +16,11 @@
|
|||||||
|
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -16,6 +16,11 @@
|
|||||||
|
|
||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
Copyright Vitaly Valtman 2013
|
Copyright Vitaly Valtman 2013
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user