summaryrefslogtreecommitdiff
path: root/base/inifile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/inifile.cc')
-rw-r--r--base/inifile.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/inifile.cc b/base/inifile.cc
index 2717a534d..74d47204e 100644
--- a/base/inifile.cc
+++ b/base/inifile.cc
@@ -35,6 +35,9 @@
#include <sys/types.h>
#include <sys/wait.h>
+#if defined(__OpenBSD__)
+#include <libgen.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>