diff options
author | Damien Miller <djm@mindrot.org> | 2000-09-24 11:21:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-09-24 11:21:31 +1100 |
commit | 80ecfe8fb8dbbb89ba9edba6b0159ce9adea3f3e (patch) | |
tree | 5878839a06d4887ba654b06578679e9611ea41f8 /bsd-strtok.h | |
parent | 72c9a7e958689740cb3449df5732e0956d52ef5b (diff) |
- (djm) Include strtok_r() from OpenBSD libc. Fixes report from Mark Miller
<markm@swoon.net>
Diffstat (limited to 'bsd-strtok.h')
-rw-r--r-- | bsd-strtok.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bsd-strtok.h b/bsd-strtok.h new file mode 100644 index 000000000..5a3a56959 --- /dev/null +++ b/bsd-strtok.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef _BSD_STRTOK_H | ||
2 | #define _BSD_STRTOK_H | ||
3 | |||
4 | #include "config.h" | ||
5 | |||
6 | #ifndef HAVE_STRTOK_R | ||
7 | char *strtok_r(char *s, const char *delim, char **last); | ||
8 | #endif /* HAVE_STRTOK_R */ | ||
9 | |||
10 | #endif /* _BSD_STRTOK_H */ | ||