summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/setenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/setenv.h')
-rw-r--r--openbsd-compat/setenv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsd-compat/setenv.h b/openbsd-compat/setenv.h
new file mode 100644
index 00000000..62ebc201
--- /dev/null
+++ b/openbsd-compat/setenv.h
@@ -0,0 +1,12 @@
+#ifndef _BSD_SETENV_H
+#define _BSD_SETENV_H
+
+#include "config.h"
+
+#ifndef HAVE_SETENV
+
+int setenv(register const char *name, register const char *value, int rewrite);
+
+#endif /* !HAVE_SETENV */
+
+#endif /* _BSD_SETENV_H */