diff options
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index b07b0c3649..945ec2cbd7 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -217,8 +217,12 @@ #include <arpa/inet.h> #include <netdb.h> -#ifdef WITH_SYSLOG +#ifdef HAVE_SYSLOG_H #include <syslog.h> +#else +#ifdef HAVE_SYS_SYSLOG_H +#include <sys/syslog.h> +#endif #endif #include <sys/file.h> |