]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cups/getifaddrs-internal.h: Include versioning.h for ! HAVE_GETIFADDRS 293/head
authorClaes Nästén <pekdon@gmail.com>
Wed, 24 Nov 2021 09:39:07 +0000 (10:39 +0100)
committerClaes Nästén <pekdon@gmail.com>
Thu, 25 Nov 2021 15:05:40 +0000 (16:05 +0100)
Without this compile fails on systems withou getifaddrs as _CUPS_PRIVATE
is undefined. Found on Solaris 10.

cups/getifaddrs-internal.h

index 4e20f73d93fdd5f5c208526605c8da8a77a1a287..8e8a4137320f6abad8562da1343a9bd1400e0571 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #  include "config.h"
+#  include "versioning.h"
 #  ifdef _WIN32
 #    define _WINSOCK_DEPRECATED_NO_WARNINGS 1
 #    include <io.h>