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"
|
#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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user