From: Richard Russon Date: Sat, 21 Sep 2019 15:20:31 +0000 (+0100) Subject: build: check for too X-Git-Tag: 2019-10-25~37^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=814d57c7c6c02c3384c79e7b0842a317d5980ed0;p=neomutt build: check for too --- diff --git a/auto.def b/auto.def index 9d75effeb..6366bac54 100644 --- a/auto.def +++ b/auto.def @@ -304,6 +304,7 @@ if {1} { cc-check-includes \ ioctl.h \ sys/ioctl.h \ + syscall.h \ sys/syscall.h \ sysexits.h diff --git a/muttlib.c b/muttlib.c index 48154fea7..359845839 100644 --- a/muttlib.c +++ b/muttlib.c @@ -59,7 +59,9 @@ #include "mx.h" #include "ncrypt/ncrypt.h" #include "protos.h" -#ifdef HAVE_SYS_SYSCALL_H +#if defined(HAVE_SYSCALL_H) +#include +#elif defined(HAVE_SYS_SYSCALL_H) #include #endif #ifdef USE_IMAP