From b120fe4d6707f1de2443663cab830968d982381f Mon Sep 17 00:00:00 2001 From: walker0643 <> Date: Wed, 4 Jul 2018 16:18:24 -0400 Subject: [PATCH] only include net/if.h for bsd/osx --- src/gui/src/unix/DefaultInterfaceIP.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/src/unix/DefaultInterfaceIP.cpp b/src/gui/src/unix/DefaultInterfaceIP.cpp index 3362195b..8eb386c4 100644 --- a/src/gui/src/unix/DefaultInterfaceIP.cpp +++ b/src/gui/src/unix/DefaultInterfaceIP.cpp @@ -3,10 +3,11 @@ #include #include #include -#include #ifdef __linux__ #include +#else +#include #endif #include