fix build on FreeBSD

With this header, sockaddr_in and INADDR_ANY are not defined
This commit is contained in:
Steve Wills 2020-12-05 21:54:17 -05:00
parent 6fa20f6dcf
commit 6900b4e506
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include "internalServer.h"
#ifdef __FreeBSD__
#include <netinet/in.h>
#endif
#ifdef _WIN32
# if !defined(__MINGW32__) && (_MSC_VER < 1600)
# include "stdint4win.h"