summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-11 14:08:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:22 -0500
commit27964734a643b814f89b9521ab3b9a1b20787049 (patch)
tree383ba422455f04788003ed3f1304f9d3ff5ef5a7 /source4/lib/replace/replace.h
parentd40dcaebdac67bc85fda5ecffc2180b0fbc9423c (diff)
downloadsamba-27964734a643b814f89b9521ab3b9a1b20787049.tar.gz
samba-27964734a643b814f89b9521ab3b9a1b20787049.tar.bz2
samba-27964734a643b814f89b9521ab3b9a1b20787049.zip
r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 7664c51a5d..70fd89e3b9 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -30,6 +30,10 @@
#include "config.h"
+#ifdef HAVE_STANDARDS_H
+#include <standards.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>