diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-05-09 09:32:31 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-05-09 09:35:16 +0200 |
commit | 4f9a7e63c1d14837ec880b9a63cc6a92a822e7d5 (patch) | |
tree | 3863e39c6f7710422c062c5a3462e82992911bd6 | |
parent | 65a9a8786d5507e7f150567e4effd6e7409ac92c (diff) |
Include stdlib.h everywhere we call (m|c)alloc.
-rw-r--r-- | lib/packet.c | 3 | ||||
-rw-r--r-- | lib/tls.c | 3 | ||||
-rw-r--r-- | lib/util.c | 1 |
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> @@ -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> @@ -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> |