summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/packet.c3
-rw-r--r--lib/tls.c3
-rw-r--r--lib/util.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/lib/packet.c b/lib/packet.c
index 8135749..bfa82df 100644
--- a/lib/packet.c
+++ b/lib/packet.c
@@ -1,10 +1,11 @@
-/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
+/* Copyright 2010-2013 NORDUnet A/S. All rights reserved.
See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#endif
+#include <stdlib.h>
#include <assert.h>
#include <radius/client.h>
#include <event2/bufferevent.h>
diff --git a/lib/tls.c b/lib/tls.c
index a5040f4..ddf14c9 100644
--- a/lib/tls.c
+++ b/lib/tls.c
@@ -1,10 +1,11 @@
-/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
+/* Copyright 2010-2013 NORDUnet A/S. All rights reserved.
See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#endif
+#include <stdlib.h>
#include <assert.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
diff --git a/lib/util.c b/lib/util.c
index 1142afa..e50d473 100644
--- a/lib/util.c
+++ b/lib/util.c
@@ -1,6 +1,7 @@
/* Copyright 2012,2013 NORDUnet A/S. All rights reserved.
See LICENSE for licensing information. */
+#include <stdlib.h>
#include <string.h>
#include <radsec/radsec.h>
#include <radsec/radsec-impl.h>