Skip to content

Commit

Permalink
Merge pull request #7 from hannesm/fix
Browse files Browse the repository at this point in the history
fix compilation on POSIX-like systems by include <netinet/in.h> (where IPPROTO_UDP is defined)
  • Loading branch information
haesbaert authored Nov 26, 2017
2 parents 5c90aab + f8f37b0 commit 5752d6d
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 5752d6d

Please sign in to comment.