aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-01-07 18:32:02 +0100
committerGitHub <noreply@github.com>2021-01-07 18:32:02 +0100
commit1d8e302c13f1f5ade4c64e401c17b4b5c55b0b5f (patch)
treeff425419ca61a7463bd96d7096bd29bfb07f100c /src/frontend/qt_sdl
parent641ddf8137956b39d2b1bd007ab6e5de7106bf1f (diff)
parentdbb12b48ec4bc54dc9f07c52ea6cad97ca92f40a (diff)
Merge pull request #926 from WaluigiWare64/fix/freebsd-include-aflink
Fix FreeBSD undefined identifier issues in Lan_PCap.cpp
Diffstat (limited to 'src/frontend/qt_sdl')
-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