summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-10 00:20:25 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-10 00:20:25 +0100
commita48992622d54c6d5dbf5abe3022cfe5b06167261 (patch)
treee65abd9bf8344845f8c5d3f8e32bbdd77db45a6c /lib
parent9ee2245ee1e0f7efedff61891a57a4a9b014542f (diff)
Don't miscompile without --enable-tls.
Include err.h and debug.h even w/o RS_ENABLE_TLS.
Diffstat (limited to 'lib')
-rw-r--r--lib/radsec.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/radsec.c b/lib/radsec.c
index ec43b2f..2ae515d 100644
--- a/lib/radsec.c
+++ b/lib/radsec.c
@@ -17,15 +17,14 @@
#include <event2/util.h>
#include <radsec/radsec.h>
#include <radsec/radsec-impl.h>
+#include "err.h"
+#include "debug.h"
+#include "rsp_debug.h"
#if defined (RS_ENABLE_TLS)
#include <regex.h>
-#include "debug.h"
-#include "err.h"
#include "rsp_list.h"
#include "../radsecproxy.h"
#endif
-#include "rsp_debug.h"
-
/* Public functions. */
int