include sys/socket.h needed for AF_INET

Index: code/network/ptrack.cpp
--- code/network/ptrack.cpp.orig
+++ code/network/ptrack.cpp
@@ -27,6 +27,9 @@
 #include "network/psnet2.h"
 #include "network/multi_fstracker.h"
 
+#ifdef __OpenBSD__
+#include <sys/socket.h>
+#endif
 
 // check structs for size compatibility
 SDL_COMPILE_TIME_ASSERT(udp_packet_header, sizeof(udp_packet_header) == 517);
