From dbb12b48ec4bc54dc9f07c52ea6cad97ca92f40a Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Tue, 5 Jan 2021 12:06:17 +0000 Subject: [PATCH] Fix FreeBSD undefined identifier issues in Lan_PCap.cpp FreeBSD requires net/if.h to be included as well. --- src/frontend/qt_sdl/LAN_PCap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/LAN_PCap.cpp b/src/frontend/qt_sdl/LAN_PCap.cpp index 3381e809..ed7dfcc2 100644 --- a/src/frontend/qt_sdl/LAN_PCap.cpp +++ b/src/frontend/qt_sdl/LAN_PCap.cpp @@ -36,7 +36,8 @@ #ifdef __linux__ #include #else - #include + #include + #include #endif #endif