aboutsummaryrefslogtreecommitdiff
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-11-11 15:44:38 -0800
committerGuy Harris <guy@alum.mit.edu>2017-11-11 15:44:38 -0800
commit9c0c1fe79b784bfce7dc77fceefe6dbed5ea37a4 (patch)
treeb3d849f5d1626da44febf1f5a8f5c347b0486e76 /cmakeconfig.h.in
parentf8469da1aeb2505f7882617211e47c5752e7b1a5 (diff)
downloadlibpcap-9c0c1fe79b784bfce7dc77fceefe6dbed5ea37a4.tar.gz
Check for msg_control or msg_flags in struct msghdr.
Solaris doesn't have either of them, so don't assume all UN*Xes do.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index d78bbe39..35578365 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -309,6 +309,12 @@
/* Define to 1 if strings.h declares `ffs' */
#cmakedefine STRINGS_H_DECLARES_FFS 1
+/* if struct msghdr has a msg_control member */
+#cmakedefine STRUCT_MSGHDR_HAS_MSG_CONTROL 1
+
+/* if struct msghdr has a msg_flags member */
+#cmakedefine STRUCT_MSGHDR_HAS_MSG_FLAGS 1
+
/* Define to 1 if sys/ethernet.h declares `ether_hostton' */
#cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_HOSTTON 1