Skip to content

Commit

Permalink
fix compilation on POSIX-like systems by include <netinet/in.h> (wher…
Browse files Browse the repository at this point in the history
…e IPPROTO_UDP is defined)
  • Loading branch information
hannesm committed Nov 26, 2017
1 parent 5c90aab commit f8f37b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rawlink_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <net/bpf.h>
#endif /* USE_BPF */

#include <netinet/in.h>

#include <net/if.h>

#include <arpa/inet.h>
Expand Down

0 comments on commit f8f37b0

Please sign in to comment.