summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/basename.c')
-rw-r--r--openbsd-compat/basename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/basename.c b/openbsd-compat/basename.c
index ad040e139..4b10cb84b 100644
--- a/openbsd-compat/basename.c
+++ b/openbsd-compat/basename.c
@@ -20,6 +20,7 @@
#include "includes.h"
#ifndef HAVE_BASENAME
+#include <string.h>
char *
basename(const char *path)