summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-27 19:13:15 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-27 19:13:15 +0000
commit8827d795f8a18a2a533d71e59ba2b2a2fdb33df6 (patch)
tree0d94ddd329ec889036815d358e286548e373fe94 /strings
parentc1af267ca6bec73cceb0dd1109669e4139a8f524 (diff)
downloadlibapr-8827d795f8a18a2a533d71e59ba2b2a2fdb33df6.tar.gz
Get NULL defined on some systems (e.g., FreeBSD 3.4).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_strings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index 200f18b64..a9e12db5a 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -56,6 +56,9 @@
#include "apr_strings.h"
#include "apr_private.h"
#include "apr_lib.h"
+#ifdef HAVE_STDDEF_H
+#include <stddef.h> /* NULL */
+#endif
APR_DECLARE(char *) apr_pstrdup(apr_pool_t *a, const char *s)
{