mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
This commit is contained in:
parent
24a06b551f
commit
26a101edce
@ -39,12 +39,6 @@
|
||||
#include "slapi/slapi.h"
|
||||
#endif
|
||||
#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"
|
||||
|
||||
#define ARGS_STEP 512
|
||||
|
@ -14,6 +14,13 @@
|
||||
* <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 {
|
||||
char *name;
|
||||
char *what;
|
||||
|
Loading…
Reference in New Issue
Block a user