summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-13 13:50:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:35 -0500
commit4e355095d11a907cecf14dbe28d4c05f527d4cba (patch)
tree8df9528ad0ef3ece2323d646a125cb79dda121fb /source4/lib/replace/replace.h
parent0eb9794e9f254445ba8a264c06b8ab21b82619c1 (diff)
downloadsamba-4e355095d11a907cecf14dbe28d4c05f527d4cba.tar.gz
samba-4e355095d11a907cecf14dbe28d4c05f527d4cba.tar.bz2
samba-4e355095d11a907cecf14dbe28d4c05f527d4cba.zip
r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf does
- AC_HEADERS_STDC is not explicit needed metze (This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index e35f1da44e..ca315131f1 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -72,7 +72,8 @@
#include <sys/types.h>
#endif
-#ifdef HAVE_STDDEF_H
+#if STDC_HEADERS
+#include <stdlib.h>
#include <stddef.h>
#endif