From: M Felt aka aixtools Date: Wed, 4 May 2022 14:57:46 +0000 (+0000) Subject: When getifaddrs is not provided by OS X-Git-Tag: v2.4.2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F386%2Fhead;p=thirdparty%2Fcups.git When getifaddrs is not provided by OS ensure # include occurs. --- diff --git a/backend/snmp.c b/backend/snmp.c index 12bc314300..d7dcb03c43 100644 --- a/backend/snmp.c +++ b/backend/snmp.c @@ -14,6 +14,9 @@ */ #include "backend-private.h" +#ifndef HAVE_GETIFADDRS +# include +#endif #include #include #include