summaryrefslogtreecommitdiff
path: root/lib/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/putenv.c')
-rw-r--r--lib/putenv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/putenv.c b/lib/putenv.c
index 087b8f491..44b89fdf3 100644
--- a/lib/putenv.c
+++ b/lib/putenv.c
@@ -23,6 +23,11 @@
# include <config.h>
#endif
+/* Disable the definition of putenv to rpl_putenv (from config.h) in this
+ file. Otherwise, we'd get conflicting prototypes for rpl_putenv on
+ systems like Irix 5.3. */
+#undef putenv
+
#if defined (__GNU_LIBRARY__) || defined (HAVE_STDLIB_H)
# include <stdlib.h>
#endif