diff options
author | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-01-05 12:06:17 +0000 |
---|---|---|
committer | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-01-05 12:06:17 +0000 |
commit | dbb12b48ec4bc54dc9f07c52ea6cad97ca92f40a (patch) | |
tree | dc443e317e5d4361a838037c4aeed2126bc63bca | |
parent | 25455cb7aa55178070ffe257d7101354a8f515bf (diff) |
Fix FreeBSD undefined identifier issues in Lan_PCap.cpp
FreeBSD requires net/if.h to be included as well.
-rw-r--r-- | src/frontend/qt_sdl/LAN_PCap.cpp | 3 |
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 |