summaryrefslogtreecommitdiff
path: root/lib/include/radsec
diff options
context:
space:
mode:
authorLuke Howard <lukeh@padl.com>2011-11-14 16:59:55 +1100
committerLuke Howard <lukeh@padl.com>2011-11-14 16:59:55 +1100
commitac17a556bd50969c8157d50761449b702afa4af8 (patch)
tree61900a1a4746f20c2debae948322ea07330a2d44 /lib/include/radsec
parentd6e790ddd52c0aa09af6e515d79d3a676c01fdad (diff)
port new RADIUS library to Windows
Conflicts: lib/configure.ac lib/include/radsec/radsec.h lib/radius/client.h
Diffstat (limited to 'lib/include/radsec')
-rw-r--r--lib/include/radsec/radsec.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index 4e5e426..33d7990 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -6,11 +6,21 @@
#ifndef _RADSEC_RADSEC_H_
#define _RADSEC_RADSEC_H_ 1
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#ifdef HAVE_STDINT_H
#include <stdint.h>
-
-#include <arpa/inet.h>
-#include <sys/time.h>
+#endif
enum rs_error_code {
RSE_OK = 0,