]> git.sur5r.net Git - openldap/commitdiff
wrap sys/param.h with HAVE_SYS_PARAM_H...
authorKurt Zeilenga <kurt@openldap.org>
Mon, 29 Mar 1999 01:55:49 +0000 (01:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 29 Mar 1999 01:55:49 +0000 (01:55 +0000)
tests/progs/slapd-addel.c
tests/progs/slapd-read.c
tests/progs/slapd-search.c

index 7e3031865cfd5b54789f3ce6f5ffdcb3a72cc2db..1ed0d13400185391343ba7a91d28567ae9a61844 100644 (file)
@@ -3,13 +3,15 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
+#include <ac/string.h>
 #include <ac/unistd.h>
 #include <ac/wait.h>
 
+#ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
+#endif
 
 #include "lber.h"
 #include "ldap.h"
index 6564b936a1b4a714471f5387e36d31f89d0eea29..1a9356ce49ab274ebe0414b4d4fe5c444354d7aa 100644 (file)
@@ -3,13 +3,15 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
+#include <ac/string.h>
 #include <ac/unistd.h>
 #include <ac/wait.h>
 
+#ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
+#endif
 
 #include "lber.h"
 #include "ldap.h"
index 88f2ebef5686b3d27bf9a2ec18dd1932071ba57c..6eb1ad98f992fd4353c2a8d48864fc74140e4872 100644 (file)
@@ -3,13 +3,15 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
+#include <ac/string.h>
 #include <ac/unistd.h>
 #include <ac/wait.h>
 
+#ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
+#endif
 
 #include "lber.h"
 #include "ldap.h"