From ef97c8ca61b1b1f1741088410a7a790c5b0bf5c6 Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Wed, 28 Dec 2016 23:48:18 +0100 Subject: [PATCH] guard use of IPV6_PKTINFO --- src/iodined.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iodined.c b/src/iodined.c index e635c417..8be50ea4 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -85,8 +85,10 @@ WSADATA wsa_data; #endif #ifndef IPV6_RECVPKTINFO +#ifdef IPV6_PKTINFO #define IPV6_RECVPKTINFO IPV6_PKTINFO #endif +#endif static int running = 1; static char *topdomain;