summaryrefslogtreecommitdiff
path: root/src/utils/os_unix.c
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-06-13 20:32:04 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-06-13 20:32:04 +0000
commit95ea342968b919b418b028d9360eedf685a55220 (patch)
tree538db23d436787038f980271529ae2be44235c1b /src/utils/os_unix.c
parent6cb83b2c027206298153773f39b17f2f52ab99e0 (diff)
Diffstat (limited to 'src/utils/os_unix.c')
-rw-r--r--src/utils/os_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c
index 060892d4034ec..bc2fc40dd7eb8 100644
--- a/src/utils/os_unix.c
+++ b/src/utils/os_unix.c
@@ -227,7 +227,8 @@ int os_setenv(const char *name, const char *value, int overwrite)
int os_unsetenv(const char *name)
{
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || \
+ defined(__OpenBSD__)
unsetenv(name);
return 0;
#else