From 446f5d6134800cc93296a845169d43403f251126 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 14 Jan 2017 19:53:27 -0800 Subject: [PATCH] Dragonfly BSD needs sys/socket.h Commit 4bc220f removed `#include ` which breaks compiling on Dragonfly BSD. --- src/env_universal_common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index 299e01465..778f41055 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -886,6 +886,7 @@ static bool get_mac_address(unsigned char macaddr[MAC_ADDRESS_MAX_LEN], #elif defined(HAVE_GETIFADDRS) // OS X and BSD +#include #include #include static bool get_mac_address(unsigned char macaddr[MAC_ADDRESS_MAX_LEN],