summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Masatake Daimon2025-11-07 01:41:35 +0900
committerGravatar Nikias Bassen2026-10-04 00:28:58 +0200
commit6f6bfebce9f4a4f3d91aae0f6be67b45686126e8 (patch)
treeaf2603941512f572330da9a32e36283909cc6de3 /configure.ac
parentda770a7687f35fbb981db4d7b47b1b032cd5c2c7 (diff)
downloadlibimobiledevice-glue-6f6bfebce9f4a4f3d91aae0f6be67b45686126e8.tar.gz
libimobiledevice-glue-6f6bfebce9f4a4f3d91aae0f6be67b45686126e8.tar.bz2
socket: Improve portability by replacing OS-specific macros with AC_CHECK_HEADERS
The primary purpose of this change is to support NetBSD. No functional changes intended.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9a4acc4..f3d083c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,7 @@ PKG_CHECK_MODULES(libplist, libplist-2.0 >= $LIBPLIST_VERSION)
# Checks for header files.
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
+AC_CHECK_HEADERS([netpacket/packet.h net/if_dl.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST