summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-21 09:15:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:31 -0500
commit5a4b133d1ce7ec5043a092396072be5374b3cf24 (patch)
treea833be78d4a09fad8d469eeaf2b8810cc4ed86cc /source4/lib/replace
parentce37cdb593f796fbd8778cb1a563bfa7bcc7befc (diff)
downloadsamba-5a4b133d1ce7ec5043a092396072be5374b3cf24.tar.gz
samba-5a4b133d1ce7ec5043a092396072be5374b3cf24.tar.bz2
samba-5a4b133d1ce7ec5043a092396072be5374b3cf24.zip
r19438: try to fix up the build breakages on BSD systems due to incorrectly
detecting iconv.h (This used to be commit e6baa13e1f9c35f95021512b713cebba680b2a72)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/system/iconv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/replace/system/iconv.h b/source4/lib/replace/system/iconv.h
index abc2d6f4e1..f01d135dd1 100644
--- a/source4/lib/replace/system/iconv.h
+++ b/source4/lib/replace/system/iconv.h
@@ -35,11 +35,11 @@
#endif
#ifdef HAVE_NATIVE_ICONV
-#if defined(HAVE_ICONV)
+#if defined(HAVE_ICONV_H)
#include <iconv.h>
-#elif defined(HAVE_GICONV)
+#elif defined(HAVE_GICONV_H)
#include <giconv.h>
-#elif defined(HAVE_BICONV)
+#elif defined(HAVE_BICONV_H)
#include <biconv.h>
#endif
#endif /* HAVE_NATIVE_ICONV */