ITS#6342 include <ac/unistd.h>

This commit is contained in:
Howard Chu 2009-10-21 03:09:28 +00:00
parent 96ce821037
commit f8a77ecfa2
3 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,9 @@
#include <sys/param.h>
#endif
/* MAXPATHLEN should come from <unistd.h> */
#include <ac/unistd.h>
#ifndef MAXPATHLEN
# if defined(PATH_MAX)
# define MAXPATHLEN PATH_MAX

View File

@ -25,6 +25,7 @@
#include <ac/ctype.h>
#include <ac/errno.h>
#include <sys/stat.h>
#include <ac/unistd.h>
#include "slap.h"

View File

@ -33,6 +33,7 @@
#include <ac/signal.h>
#include <ac/socket.h>
#include <ac/errno.h>
#include <ac/unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -41,10 +42,6 @@
#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "slap.h"
#ifdef LDAP_SLAPI
#include "slapi/slapi.h"