summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-22 16:11:05 +1100
committerDamien Miller <djm@mindrot.org>1999-11-22 16:11:05 +1100
commitd770252d3a6dfe5e97d1a6846e2e5bfde92accc2 (patch)
treeae06bf36e1be1928026832da49c366a8b2d310ce /helper.h
parentd71b12ee5b6b0283ce41ff2d9c8864c6aadc6bbe (diff)
- Added a setenv replacement for systems which lack it
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper.h b/helper.h
index 0e53fac4..68e0a853 100644
--- a/helper.h
+++ b/helper.h
@@ -47,4 +47,8 @@ void arc4random_stir(void);
void setproctitle(const char *fmt, ...);
#endif /* !HAVE_SETPROCTITLE */
+#ifndef HAVE_SETENV
+int setenv(const char *name, const char *value, int overwrite);
+#endif /* !HAVE_SETENV */
+
#endif /* _HELPER_H */