diff -ru src.orig//support/include/conffile.h src/support/include/conffile.h
--- src.orig//support/include/conffile.h	2014-02-07 17:54:45.207996482 +0100
+++ src/support/include/conffile.h	2014-02-07 17:55:00.915991327 +0100
@@ -33,6 +33,7 @@
 #ifndef _CONFFILE_H_
 #define _CONFFILE_H_
 
+#include <sys/types.h>
 #include <sys/queue.h>
 #include <ctype.h>
 
diff -ru src.orig//support/include/sockaddr.h src/support/include/sockaddr.h
--- src.orig//support/include/sockaddr.h	2014-02-07 18:06:49.523758784 +0100
+++ src/support/include/sockaddr.h	2014-02-07 18:07:08.047752705 +0100
@@ -30,6 +30,7 @@
 #include <stdbool.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <stdlib.h>
 
 /*
  * This type is for defining buffers that contain network socket
