diff options
author | Jens Georg <mail@jensge.org> | 2018-11-29 12:01:35 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2018-11-29 12:01:35 +0100 |
commit | 7cda968752810751b7f0f6dc0bfbab7a844176d7 (patch) | |
tree | 8f2cfeb6924c634590dd7826311964a0a027a5fb | |
parent | 284810cdda875b2a6e9b8047329c55193f692c37 (diff) | |
download | gssdp-7cda968752810751b7f0f6dc0bfbab7a844176d7.tar.gz |
build: Update pktinfo test for Apple as well
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d7e5560..8d6a90d 100644 --- a/meson.build +++ b/meson.build @@ -9,6 +9,9 @@ conf.set_quoted('VERSION', meson.project_version()) # Check for struct in_pktinfo pktinfo_test = '''#define _GNU_SOURCE +#ifdef __APPLE__ +#define __APPLE_USE_RFC_3542 +#endif #include <netinet/ip.h> struct in_pktinfo pktinfo; struct in6_pktinfo pktinfo6; |