diff options
Diffstat (limited to 'src/usyslog.c')
-rw-r--r-- | src/usyslog.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usyslog.c b/src/usyslog.c index 75becac..611e74d 100644 --- a/src/usyslog.c +++ b/src/usyslog.c @@ -20,7 +20,13 @@ #include <string.h> #include <stdlib.h> #include <errno.h> -#include <malloc.h> + +#if __APPLE__ + #include <malloc/malloc.h> +#else + #include <malloc.h> +#endif + #include <pthread.h> #include <stdarg.h> |