aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/qt_sdl/LAN_PCap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/LAN_PCap.cpp b/src/frontend/qt_sdl/LAN_PCap.cpp
index 3381e80..ed7dfcc 100644
--- a/src/frontend/qt_sdl/LAN_PCap.cpp
+++ b/src/frontend/qt_sdl/LAN_PCap.cpp
@@ -36,7 +36,8 @@
#ifdef __linux__
#include <linux/if_packet.h>
#else
- #include <net/if_dl.h>
+ #include <net/if.h>
+ #include <net/if_dl.h>
#endif
#endif