summaryrefslogtreecommitdiff
path: root/openbsd-compat/basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/basename.c')
-rw-r--r--openbsd-compat/basename.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/basename.c b/openbsd-compat/basename.c
index ad040e139..ffa5c8984 100644
--- a/openbsd-compat/basename.c
+++ b/openbsd-compat/basename.c
@@ -20,6 +20,8 @@
20 20
21#include "includes.h" 21#include "includes.h"
22#ifndef HAVE_BASENAME 22#ifndef HAVE_BASENAME
23#include <errno.h>
24#include <string.h>
23 25
24char * 26char *
25basename(const char *path) 27basename(const char *path)