summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-16 09:19:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:46 -0500
commitf0c9bc037ed78f6bf0999ef669612b4003ec51ad (patch)
tree2bf71e6de6c731f619151ffca2800b8e04fc1f20 /source4/lib/replace/replace.h
parent4b2b3bb7068a6d09b3cd4628bb25e74bd2a47ef6 (diff)
downloadsamba-f0c9bc037ed78f6bf0999ef669612b4003ec51ad.tar.gz
samba-f0c9bc037ed78f6bf0999ef669612b4003ec51ad.tar.bz2
samba-f0c9bc037ed78f6bf0999ef669612b4003ec51ad.zip
r22250: try to fix the build on aix1 in the farm
metze (This used to be commit 0a04ed570b125be1716628136f87f0244ad12f72)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 959d44b33e..3b09216257 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -160,7 +160,11 @@ size_t rep_strnlen(const char *s, size_t n);
#ifndef HAVE_SETENV
#define setenv rep_setenv
-int rep_setenv(const char *name, const char *value, int overwrite);
+int rep_setenv(const char *name, const char *value, int overwrite);
+#else
+#ifndef HAVE_DECL_SETENV
+int setenv(const char *name, const char *value, int overwrite);
+#endif
#endif
#ifndef HAVE_UNSETENV