Skip to content

Commit 5752d6d

Browse files
authored
Merge pull request #7 from hannesm/fix
fix compilation on POSIX-like systems by include <netinet/in.h> (where IPPROTO_UDP is defined)
2 parents 5c90aab + f8f37b0 commit 5752d6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rawlink_stubs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#include <net/bpf.h>
3636
#endif /* USE_BPF */
3737

38+
#include <netinet/in.h>
39+
3840
#include <net/if.h>
3941

4042
#include <arpa/inet.h>

0 commit comments

Comments
 (0)