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 //