From: Kurt Zeilenga Date: Tue, 17 Nov 1998 19:08:29 +0000 (+0000) Subject: Remove recently added externs. Some may not actually be bogus. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1105 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=34780e1dc3fb1af6a82b2febac75abcc6f7b2fc1;p=openldap Remove recently added externs. Some may not actually be bogus. --- diff --git a/include/ac/unistd.h b/include/ac/unistd.h index a52b288417..ac061fc775 100644 --- a/include/ac/unistd.h +++ b/include/ac/unistd.h @@ -4,18 +4,16 @@ #define _AC_UNISTD_H #if HAVE_SYS_TYPES_H -# include +# include #endif #if HAVE_UNISTD_H -# include -#else - /* we really should test for these */ - char *crypt(); - char *gethostname(); - char *getenv(); - long *random(); - int flock(); +# include +#endif + +/* crypt() may be defined in a separate include file */ +#if HAVE_CRYPT_H +# include #endif /* getopt() defines may be in separate include file */