summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-17 13:19:26 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-17 13:19:26 +0100
commit901d828f30314c1b68314672b8d978f512ead328 (patch)
tree592e3d171eb587941cb66cf0dd9118576698c33d /src
parentd2f7521e6041a0a6457aa9fbe8b6113086bace8d (diff)
downloadgnutls-901d828f30314c1b68314672b8d978f512ead328.tar.gz
Never include config.h in *.h files.
Diffstat (limited to 'src')
-rw-r--r--src/cli.gaa1
-rw-r--r--src/common.h1
-rw-r--r--src/serv.c2
-rw-r--r--src/serv.gaa1
4 files changed, 4 insertions, 1 deletions
diff --git a/src/cli.gaa b/src/cli.gaa
index c015db5746..d1672177ad 100644
--- a/src/cli.gaa
+++ b/src/cli.gaa
@@ -2,6 +2,7 @@
/* C declarations */
+#include <config.h>
#include <common.h>
void cli_version(void);
diff --git a/src/common.h b/src/common.h
index 5ca2b3b97c..01e0fa5cc4 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,7 +1,6 @@
#define PORT 5556
#define SERVER "127.0.0.1"
-#include <config.h>
#include <gnutls/gnutls.h>
#include <sys/socket.h>
diff --git a/src/serv.c b/src/serv.c
index 21359852bc..dbd76c225e 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -23,6 +23,8 @@
* (which means it is quite unreadable)
*/
+#include <config.h>
+
#include "common.h"
#include "serv-gaa.h"
#include <stdio.h>
diff --git a/src/serv.gaa b/src/serv.gaa
index a2c4620557..63a85f39af 100644
--- a/src/serv.gaa
+++ b/src/serv.gaa
@@ -1,5 +1,6 @@
#{
+#include <config.h>
#include <common.h>
void serv_version(void);