]> git.sur5r.net Git - openldap/commitdiff
Remove recently added externs. Some may not actually be bogus.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 17 Nov 1998 19:08:29 +0000 (19:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 17 Nov 1998 19:08:29 +0000 (19:08 +0000)
include/ac/unistd.h

index a52b288417f42b88cb73da13cb9aaaeeb37753cd..ac061fc775abb5ef27384e6d10cc535e9fdde347 100644 (file)
@@ -4,18 +4,16 @@
 #define _AC_UNISTD_H
 
 #if HAVE_SYS_TYPES_H
-# include <sys/types.h>
+#      include <sys/types.h>
 #endif
 
 #if HAVE_UNISTD_H
-# include <unistd.h>
-#else
-       /* we really should test for these */
-       char *crypt();
-       char *gethostname();
-       char *getenv();
-       long *random();
-       int flock();
+#      include <unistd.h>
+#endif
+
+/* crypt() may be defined in a separate include file */
+#if HAVE_CRYPT_H
+#      include <crypt.h>
 #endif
 
 /* getopt() defines may be in separate include file */