Commit f8a77ecf authored by Howard Chu's avatar Howard Chu
Browse files

ITS#6342 include <ac/unistd.h>

parent 96ce8210
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment