aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/os_unix.c
diff options
context:
space:
mode:
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 060892d..bc2fc40 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