Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
e27a27c4
Commit
e27a27c4
authored
Jan 13, 2014
by
antma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #include "config.h" for all source files
parent
dd40e9b3
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
45 additions
and
3 deletions
+45
-3
binlog.c
binlog.c
+4
-0
interface.c
interface.c
+3
-0
loop.c
loop.c
+5
-2
lua-tg.c
lua-tg.c
+2
-0
main.c
main.c
+5
-1
mtproto-client.c
mtproto-client.c
+5
-0
mtproto-common.c
mtproto-common.c
+5
-0
net.c
net.c
+5
-0
queries.c
queries.c
+5
-0
structures.c
structures.c
+2
-0
tools.c
tools.c
+4
-0
No files found.
binlog.c
View file @
e27a27c4
...
@@ -16,7 +16,11 @@
...
@@ -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
...
...
interface.c
View file @
e27a27c4
...
@@ -17,7 +17,10 @@
...
@@ -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>
...
...
loop.c
View file @
e27a27c4
...
@@ -16,13 +16,16 @@
...
@@ -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
...
...
lua-tg.c
View file @
e27a27c4
#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"
...
...
main.c
View file @
e27a27c4
...
@@ -16,8 +16,12 @@
...
@@ -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>
...
...
mtproto-client.c
View file @
e27a27c4
...
@@ -17,6 +17,11 @@
...
@@ -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>
...
...
mtproto-common.c
View file @
e27a27c4
...
@@ -17,6 +17,11 @@
...
@@ -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>
...
...
net.c
View file @
e27a27c4
...
@@ -16,6 +16,11 @@
...
@@ -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>
...
...
queries.c
View file @
e27a27c4
...
@@ -16,6 +16,11 @@
...
@@ -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>
...
...
structures.c
View file @
e27a27c4
...
@@ -17,7 +17,9 @@
...
@@ -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>
...
...
tools.c
View file @
e27a27c4
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
Copyright Vitaly Valtman 2013
Copyright Vitaly Valtman 2013
*/
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define _GNU_SOURCE
#define _GNU_SOURCE
#include <assert.h>
#include <assert.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment