diff options
Diffstat (limited to 'openbsd-compat/basename.c')
-rw-r--r-- | openbsd-compat/basename.c | 2 |
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 | ||
24 | char * | 26 | char * |
25 | basename(const char *path) | 27 | basename(const char *path) |