From 604e8533544df54f01281814695d73679f9e400d Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 20 Jun 2019 16:48:38 -0700 Subject: [PATCH] fixed freebsd bugs --- microstack/ILibParsers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microstack/ILibParsers.c b/microstack/ILibParsers.c index 4a4746e..bba5046 100644 --- a/microstack/ILibParsers.c +++ b/microstack/ILibParsers.c @@ -63,7 +63,7 @@ limitations under the License. #include -#ifdef __APPLE__ +#if defined(__APPLE__) || defined (_FREEBSD) #include #include #endif @@ -410,7 +410,7 @@ int ILibGetLocalIPv4AddressList(struct sockaddr_in** addresslist, int includeloo } closesocket(sock); return j; -#elif __APPLE__ +#elif defined(__APPLE__) || defined(_FREEBSD) // // Enumerate local interfaces //