]> git.sur5r.net Git - openldap/commitdiff
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
authorHoward Chu <hyc@openldap.org>
Sat, 9 Apr 2005 06:35:28 +0000 (06:35 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 9 Apr 2005 06:35:28 +0000 (06:35 +0000)
servers/slapd/config.c
servers/slapd/config.h

index 97f98c3a5bb28fde0d7c0d237f1968e76958cd50..500a64c4680980b81d3c2ffd77de79239ea3cd2c 100644 (file)
 #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
index be90c5c2d32267119a3776328388ebfab63af7a9..b5c3e9fe2180382d1c2faee4c96b594f158db385 100644 (file)
  * <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;