summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/buffer.c1
-rw-r--r--common/hash.c1
-rw-r--r--common/sock_any.c6
3 files changed, 6 insertions, 2 deletions
diff --git a/common/buffer.c b/common/buffer.c
index 3d427e5..1ca4c6b 100644
--- a/common/buffer.c
+++ b/common/buffer.c
@@ -43,6 +43,7 @@
#include <errno.h>
#include <syslog.h>
#include <string.h>
+#include <stdlib.h>
#include <stdio.h>
/* -----------------------------------------------------------------------
diff --git a/common/hash.c b/common/hash.c
index e36883f..13a9371 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -53,6 +53,7 @@
#include <sys/types.h>
#include <stdlib.h>
+#include <string.h>
#include "hash.h"
#ifdef HSH_TIMESTAMP
diff --git a/common/sock_any.c b/common/sock_any.c
index 0018318..7876e20 100644
--- a/common/sock_any.c
+++ b/common/sock_any.c
@@ -36,12 +36,14 @@
*
*/
-#include <stdlib.h>
-#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
+
+#include <stdlib.h>
+#include <errno.h>
#include <netdb.h>
#include <string.h>
+#include <stdio.h>
#include "sock_any.h"