MacOS Legacy: omit unneeded header on old macos versions

v1.29
Brad House 6 months ago
parent 0d762cd968
commit afa3880ab2
  1. 4
      src/lib/ares_sysconfig_mac.c

@ -52,8 +52,10 @@
# include <dlfcn.h>
# include <arpa/inet.h>
# include "thirdparty/apple/dnsinfo.h"
# include <SystemConfiguration/SCNetworkConfiguration.h>
# include <AvailabilityMacros.h>
# if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 /* MacOS 10.8 */
# include <SystemConfiguration/SCNetworkConfiguration.h>
# endif
# include "ares.h"
# include "ares_private.h"

Loading…
Cancel
Save