diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 2666eebee..6328ff6ad 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define HAVE_MEMRCHR 1 | 14 | #define HAVE_MEMRCHR 1 |
15 | #define HAVE_MKDTEMP 1 | 15 | #define HAVE_MKDTEMP 1 |
16 | #define HAVE_SETBIT 1 | 16 | #define HAVE_SETBIT 1 |
17 | #define HAVE_SIGHANDLER_T 1 | ||
17 | #define HAVE_STRCASESTR 1 | 18 | #define HAVE_STRCASESTR 1 |
18 | #define HAVE_STRCHRNUL 1 | 19 | #define HAVE_STRCHRNUL 1 |
19 | #define HAVE_STRSEP 1 | 20 | #define HAVE_STRSEP 1 |
@@ -253,6 +254,7 @@ typedef uint32_t bb__aliased_uint32_t FIX_ALIASING; | |||
253 | || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ | 254 | || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ |
254 | # undef HAVE_MNTENT_H | 255 | # undef HAVE_MNTENT_H |
255 | # undef HAVE_SYS_STATFS_H | 256 | # undef HAVE_SYS_STATFS_H |
257 | # undef HAVE_SIGHANDLER_T | ||
256 | #else | 258 | #else |
257 | # define HAVE_MNTENT_H 1 | 259 | # define HAVE_MNTENT_H 1 |
258 | # define HAVE_SYS_STATFS_H 1 | 260 | # define HAVE_SYS_STATFS_H 1 |
@@ -396,6 +398,10 @@ extern char *mkdtemp(char *template) FAST_FUNC; | |||
396 | # define clrbit(a, b) ((a)[(b) >> 3] &= ~(1 << ((b) & 7))) | 398 | # define clrbit(a, b) ((a)[(b) >> 3] &= ~(1 << ((b) & 7))) |
397 | #endif | 399 | #endif |
398 | 400 | ||
401 | #ifndef HAVE_SIGHANDLER_T | ||
402 | typedef void (*sighandler_t)(int); | ||
403 | #endif | ||
404 | |||
399 | #ifndef HAVE_STRCASESTR | 405 | #ifndef HAVE_STRCASESTR |
400 | extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC; | 406 | extern char *strcasestr(const char *s, const char *pattern) FAST_FUNC; |
401 | #endif | 407 | #endif |