summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-09-26 16:55:11 +0200
committerLinus Nordberg <linus@nordu.net>2011-09-26 16:55:11 +0200
commit66743827eea20b870a0319660a4a5eb32bfe32ca (patch)
tree016f6d9c410b90917b6a50f486e604069d15629d
parent98c6d483404e1b7ddd8c980bdbd9fad0493e6c3b (diff)
Make radsecproxy.h self-sustaining.
-rw-r--r--dtls.c1
-rw-r--r--fticks.c1
-rw-r--r--radsecproxy.c1
-rw-r--r--radsecproxy.h5
-rw-r--r--tcp.c3
-rw-r--r--tls.c3
-rw-r--r--tlscommon.c1
-rw-r--r--udp.c3
8 files changed, 8 insertions, 10 deletions
diff --git a/dtls.c b/dtls.c
index d99c55d..ed3dca1 100644
--- a/dtls.c
+++ b/dtls.c
@@ -26,7 +26,6 @@
#include <pthread.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
-#include "list.h"
#include "hash.h"
#include "radsecproxy.h"
diff --git a/fticks.c b/fticks.c
index 89081ff..0147f1b 100644
--- a/fticks.c
+++ b/fticks.c
@@ -10,7 +10,6 @@
#include <regex.h>
#include <pthread.h>
#include <sys/time.h>
-#include "list.h"
#include "radsecproxy.h"
#include "debug.h"
diff --git a/radsecproxy.c b/radsecproxy.c
index fdf3d81..93cd4a2 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -69,7 +69,6 @@
#include <openssl/err.h>
#include <openssl/md5.h>
#include "debug.h"
-#include "list.h"
#include "hash.h"
#include "util.h"
#include "hostport.h"
diff --git a/radsecproxy.h b/radsecproxy.h
index 3c80ee6..03ae54c 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -7,6 +7,11 @@
* copyright notice and this permission notice appear in all copies.
*/
+#include <sys/time.h>
+#include <stdint.h>
+#include <pthread.h>
+#include <regex.h>
+#include "list.h"
#include "tlv11.h"
#include "radmsg.h"
#include "gconfig.h"
diff --git a/tcp.c b/tcp.c
index 8d55941..797ec9e 100644
--- a/tcp.c
+++ b/tcp.c
@@ -24,9 +24,8 @@
#include <arpa/inet.h>
#include <regex.h>
#include <pthread.h>
-#include "list.h"
-#include "hostport.h"
#include "radsecproxy.h"
+#include "hostport.h"
#ifdef RADPROT_TCP
#include "debug.h"
diff --git a/tls.c b/tls.c
index f79529f..ce06a6e 100644
--- a/tls.c
+++ b/tls.c
@@ -26,9 +26,8 @@
#include <pthread.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
-#include "list.h"
-#include "hostport.h"
#include "radsecproxy.h"
+#include "hostport.h"
#ifdef RADPROT_TLS
#include "debug.h"
diff --git a/tlscommon.c b/tlscommon.c
index 203bc4b..eb2af8c 100644
--- a/tlscommon.c
+++ b/tlscommon.c
@@ -33,7 +33,6 @@
#include <openssl/md5.h>
#include <openssl/x509v3.h>
#include "debug.h"
-#include "list.h"
#include "hash.h"
#include "util.h"
#include "hostport.h"
diff --git a/udp.c b/udp.c
index 4740fd0..2724a1d 100644
--- a/udp.c
+++ b/udp.c
@@ -24,9 +24,8 @@
#include <arpa/inet.h>
#include <regex.h>
#include <pthread.h>
-#include "list.h"
-#include "hostport.h"
#include "radsecproxy.h"
+#include "hostport.h"
#ifdef RADPROT_UDP
#include "debug.h"