Skip to content

Commit

Permalink
guard use of IPV6_PKTINFO
Browse files Browse the repository at this point in the history
  • Loading branch information
barak committed Dec 28, 2016
1 parent 8e58aeb commit ef97c8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iodined.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ef97c8c

Please sign in to comment.