diff options
Diffstat (limited to 'utils/config.h')
-rw-r--r-- | utils/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/config.h b/utils/config.h index 2e586974c..deee87150 100644 --- a/utils/config.h +++ b/utils/config.h @@ -24,7 +24,8 @@ /* Try to detect which features the target OS supports */ #define HAVE_STRNDUP -#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) +#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) || \ + defined(__APPLE__) /* FreeBSD and Solaris do not have this function, so * we implement it ourselves in util.c */ |