From d770252d3a6dfe5e97d1a6846e2e5bfde92accc2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 22 Nov 1999 16:11:05 +1100 Subject: - Added a setenv replacement for systems which lack it --- helper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'helper.h') 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 */ -- cgit v1.2.3