Skip to content

Commit

Permalink
Merge pull request #96 from xorrkaz/fix-compiler-warnings
Browse files Browse the repository at this point in the history
Silence some compiler warnings on FreeBSD.
  • Loading branch information
haakonnessjoen authored Sep 24, 2024
2 parents c6a8748 + 2ffcfe5 commit 535c64a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mactelnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#endif
#if defined(__FreeBSD__) || defined(__APPLE__)
#include <sys/types.h>
#include <sys/mman.h>
#include <net/ethernet.h>
#else
#include <netinet/ether.h>
Expand Down
2 changes: 1 addition & 1 deletion src/mtwei.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <stdio.h>
#include <string.h>
#include <libintl.h>
#if defined(__linux__)
#if defined(HAVE_SYS_RANDOM_H)
#include <sys/random.h>
#endif

Expand Down

0 comments on commit 535c64a

Please sign in to comment.