From 820ac76ceb419bcfcec97ae494627c0c0e4ff38f Mon Sep 17 00:00:00 2001 From: Randy Kunkee Date: Fri, 23 Jul 1999 00:59:27 +0000 Subject: [PATCH] Include sys/param.h on OSF4.0e to define MAXPATHLEN. --- servers/slapd/back-bdb2/startup.c | 3 +++ servers/slapd/back-bdb2/txn.c | 5 +++++ 2 files changed, 8 insertions(+) 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" -- 2.39.5