summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2018-11-29 12:01:35 +0100
committerJens Georg <mail@jensge.org>2018-11-29 12:01:35 +0100
commit7cda968752810751b7f0f6dc0bfbab7a844176d7 (patch)
tree8f2cfeb6924c634590dd7826311964a0a027a5fb
parent284810cdda875b2a6e9b8047329c55193f692c37 (diff)
downloadgssdp-7cda968752810751b7f0f6dc0bfbab7a844176d7.tar.gz
build: Update pktinfo test for Apple as well
-rw-r--r--meson.build3
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;