ITS#3644 include limits.h in config.h, set PATH_MAX in config.h

This commit is contained in:
Howard Chu 2005-04-09 06:35:28 +00:00
parent 24a06b551f
commit 26a101edce
2 changed files with 7 additions and 6 deletions

View File

@ -39,12 +39,6 @@
#include "slapi/slapi.h" #include "slapi/slapi.h"
#endif #endif
#include "lutil.h" #include "lutil.h"
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif /* HAVE_LIMITS_H */
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif /* ! PATH_MAX */
#include "config.h" #include "config.h"
#define ARGS_STEP 512 #define ARGS_STEP 512

View File

@ -14,6 +14,13 @@
* <http://www.OpenLDAP.org/license.html>. * <http://www.OpenLDAP.org/license.html>.
*/ */
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
typedef struct ConfigTable { typedef struct ConfigTable {
char *name; char *name;
char *what; char *what;