$OpenBSD: patch-net_base_network_interfaces_posix_h,v 1.3 2018/05/04 07:14:58 robert Exp $
Index: net/base/network_interfaces_posix.h
--- net/base/network_interfaces_posix.h.orig
+++ net/base/network_interfaces_posix.h
@@ -8,6 +8,8 @@
 // This file provides some basic functionality shared between
 // network_interfaces_linux.cc and network_interfaces_getifaddrs.cc.
 
+#include <sys/socket.h>
+
 #include <string>
 
 struct sockaddr;
