From: Randy Kunkee Date: Fri, 23 Jul 1999 00:59:27 +0000 (+0000) Subject: Include sys/param.h on OSF4.0e to define MAXPATHLEN. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=820ac76ceb419bcfcec97ae494627c0c0e4ff38f;p=openldap Include sys/param.h on OSF4.0e to define MAXPATHLEN. --- diff --git a/servers/slapd/back-bdb2/startup.c b/servers/slapd/back-bdb2/startup.c index a80dee9498..3857ab6812 100644 --- a/servers/slapd/back-bdb2/startup.c +++ b/servers/slapd/back-bdb2/startup.c @@ -8,6 +8,9 @@ #include #include +#ifdef HAVE_SYS_PARAM_H +#include +#endif #ifdef HAVE_DIRECT_H #include #endif diff --git a/servers/slapd/back-bdb2/txn.c b/servers/slapd/back-bdb2/txn.c index fc61efe97c..b2e2b0721f 100644 --- a/servers/slapd/back-bdb2/txn.c +++ b/servers/slapd/back-bdb2/txn.c @@ -1,5 +1,10 @@ /* txn.c - TP support functions of the bdb2 backend */ +#include "portable.h" + +#ifdef HAVE_SYS_PARAM_H +#include +#endif #include "txn.h"