]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
When getifaddrs is not provided by OS 386/head
authorM Felt aka aixtools <aixtools@felt.demon.nl>
Wed, 4 May 2022 14:57:46 +0000 (14:57 +0000)
committerM Felt aka aixtools <aixtools@felt.demon.nl>
Thu, 5 May 2022 06:56:40 +0000 (06:56 +0000)
ensure # include <cups/getifaddrs-internal.h> occurs.

backend/snmp.c

index 12bc3143004ca24fe7e231142f9f3401954ae627..d7dcb03c439234c2feb4b42b50bcf304c8641471 100644 (file)
@@ -14,6 +14,9 @@
  */
 
 #include "backend-private.h"
+#ifndef HAVE_GETIFADDRS
+#  include <cups/getifaddrs-internal.h>
+#endif
 #include <cups/array.h>
 #include <cups/file.h>
 #include <cups/http-private.h>