diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-24 15:08:35 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-24 15:08:35 +1000 |
commit | 62da44f0644f5d1cc7fa3b6b967482b5d2f15aa2 (patch) | |
tree | b08bc041e8d15a630a3fad05e8f5c85145b6fc31 /openbsd-compat/basename.c | |
parent | ad5ecbf07227a5c7e1423adf7c68c6cfb05bbd1e (diff) |
- (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]
[openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c]
[openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c]
[openbsd-compat/port-aix.c openbsd-compat/port-irix.c]
[openbsd-compat/rresvport.c]
These look to need string.h and/or unistd.h (based on a grep for function
names)
Diffstat (limited to 'openbsd-compat/basename.c')
-rw-r--r-- | openbsd-compat/basename.c | 1 |
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 @@ | |||
20 | 20 | ||
21 | #include "includes.h" | 21 | #include "includes.h" |
22 | #ifndef HAVE_BASENAME | 22 | #ifndef HAVE_BASENAME |
23 | #include <string.h> | ||
23 | 24 | ||
24 | char * | 25 | char * |
25 | basename(const char *path) | 26 | basename(const char *path) |