From f8a77ecfa257061b0370ca897164f1ff21763eb8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 21 Oct 2009 03:09:28 +0000 Subject: [PATCH] ITS#6342 include --- include/ac/param.h | 3 +++ servers/slapd/bconfig.c | 1 + servers/slapd/config.c | 5 +---- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/ac/param.h b/include/ac/param.h index 4130f6ebe5..b3eb5d7c31 100644 --- a/include/ac/param.h +++ b/include/ac/param.h @@ -21,6 +21,9 @@ #include #endif +/* MAXPATHLEN should come from */ +#include + #ifndef MAXPATHLEN # if defined(PATH_MAX) # define MAXPATHLEN PATH_MAX diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 2674459e19..93247bc4cc 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "slap.h" diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 12bd3b5cc5..c491d17c16 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include @@ -41,10 +42,6 @@ #define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) #endif -#ifdef HAVE_UNISTD_H -#include -#endif - #include "slap.h" #ifdef LDAP_SLAPI #include "slapi/slapi.h" -- 2.39.5