summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-11 14:08:51 +0000
committerStefan Metzmacher <metze@samba.org>2006-09-11 14:08:51 +0000
commitba856a8e262a0854594e89a3561c965efb2ea312 (patch)
treed5fc2e26ef21f3b2c05a1974b0202bd3a233279e /source/lib/replace/replace.h
parenta2aaed7c35e51c8d702cbe7177dd8d3baf3a5625 (diff)
downloadsamba-ba856a8e262a0854594e89a3561c965efb2ea312.tar.gz
samba-ba856a8e262a0854594e89a3561c965efb2ea312.tar.xz
samba-ba856a8e262a0854594e89a3561c965efb2ea312.zip
r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED metze
Diffstat (limited to 'source/lib/replace/replace.h')
-rw-r--r--source/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h
index 7664c51a5da..70fd89e3b9a 100644
--- a/source/lib/replace/replace.h
+++ b/source/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>