From 589d5496f2102a695216c92728151a7b21d89b8e Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Tue, 13 Dec 2011 22:33:57 +0100 Subject: [PATCH] Fixes "sys/prctl.h" include error on MacOS X/Darwin OS. --- src/util-coredump-config.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/util-coredump-config.c b/src/util-coredump-config.c index 9d40ecb..9efbed5 100644 --- a/src/util-coredump-config.c +++ b/src/util-coredump-config.c @@ -80,7 +80,7 @@ int32_t CoredumpLoadConfig (void) return 0; #endif -#if !defined OS_FREEBSD && !defined __OpenBSD__ && !defined __CYGWIN__ && !defined OS_WIN32 +#if !defined OS_FREEBSD && !defined __OpenBSD__ && !defined __CYGWIN__ && !defined OS_WIN32 && !defined OS_DARWIN /* Linux specific core dump configuration; set dumpable flag if needed */ #include int dumpable = 0; -- 1.7.7.4