mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
ITS#6342 include <ac/unistd.h>
This commit is contained in:
parent
96ce821037
commit
f8a77ecfa2
@ -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
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <ac/ctype.h>
|
||||
#include <ac/errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <ac/unistd.h>
|
||||
|
||||
#include "slap.h"
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user