From: Guido Falsi Date: Sat, 14 Oct 2017 09:11:24 +0000 (+0200) Subject: chan_dahdi: wrap include file which is not present on BSD systems in #ifdef X-Git-Tag: 13.19.0-rc1~205^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cada85d6d8b4ef749907bff092a5e9c1863801;p=thirdparty%2Fasterisk.git chan_dahdi: wrap include file which is not present on BSD systems in #ifdef The sys/sysmacros.h include file does not exist in BSD systems and is not required to build this module there. Since an "#if defined(__NetBSD__) || defined(__FreeBSD__)" section already exist I moved that include line inside it's #else branch. ASTERISK-27343 #close Change-Id: Ibfb64f4e9a0ce8b6eda7a7695cfe57916f175dc1 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 18352d3af9..ba7072b2cf 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -61,10 +61,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #else #include +#include #endif #include #include -#include #include "sig_analog.h" /* Analog signaling is currently still present in chan_dahdi for use with