diff options
Diffstat (limited to 'src/memrchr.c')
-rw-r--r-- | src/memrchr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/memrchr.c b/src/memrchr.c index 21662b1b..16ed6acb 100644 --- a/src/memrchr.c +++ b/src/memrchr.c @@ -52,7 +52,9 @@ # define LONG_MAX LONG_MAX_32_BITS #endif -#include <sys/types.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif #undef __memrchr #undef memrchr |