diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-11-11 15:44:38 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-11-11 15:44:38 -0800 |
commit | 9c0c1fe79b784bfce7dc77fceefe6dbed5ea37a4 (patch) | |
tree | b3d849f5d1626da44febf1f5a8f5c347b0486e76 /cmakeconfig.h.in | |
parent | f8469da1aeb2505f7882617211e47c5752e7b1a5 (diff) | |
download | libpcap-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.in | 6 |
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 |