mirror of https://github.com/kiwix/libkiwix.git
fix build on FreeBSD
With this header, sockaddr_in and INADDR_ANY are not defined
This commit is contained in:
parent
6fa20f6dcf
commit
6900b4e506
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue