From 6b85fdb7c4367951321aae4b30a65aa23d640a7f Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 4 Apr 2002 07:21:43 +0000 Subject: [PATCH] Deuce's fix for building on FreeBSD. --- xtrn/sdk/xsdkinet.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xtrn/sdk/xsdkinet.h b/xtrn/sdk/xsdkinet.h index b89bb28be6..5c2f75ab97 100644 --- a/xtrn/sdk/xsdkinet.h +++ b/xtrn/sdk/xsdkinet.h @@ -52,6 +52,10 @@ #elif defined __unix__ /* Unix-variant */ +#ifdef __FreeBSD__ +#include <sys/types.h> /* u_intXX_t */ +#endif + #include <netdb.h> /* gethostbyname */ #include <netinet/in.h> /* IPPROTO_IP */ #include <sys/socket.h> /* socket/bind/etc. */ -- GitLab