]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/ch_malloc.c
Don't include portable.h. Headers can and should assume portable.h
[openldap] / servers / slapd / ch_malloc.c
index 43ec4c9adb08ebd63a0eaec3e9967f9bc3252379..9ce0ed80ec8936c9ab3d80c701954616f59242c6 100644 (file)
@@ -1,8 +1,12 @@
 /* ch_malloc.c - malloc routines that test returns from malloc and friends */
 
+#include "portable.h"
+
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/socket.h>
+
+#include <ac/string.h>
+#include <ac/socket.h>
+
 #include "slap.h"
 
 char *