1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

netbsd netinet include

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2016-02-27 09:34:28 +08:00
parent 1bcc110299
commit c0495892bc
2 changed files with 7 additions and 0 deletions

View file

@ -140,6 +140,10 @@ struct sockaddr_in;
#else /* NOT WIN32 */
#include <unistd.h>
#ifdef BSD
#include <netinet/in.h>
#endif
#define LWS_INLINE inline
#define LWS_O_RDONLY O_RDONLY

View file

@ -61,6 +61,9 @@
#include <unistd.h>
#include <sys/socket.h>
#endif
#ifdef BSD
#include <netinet/in.h>
#endif
#define MAX_FUZZ_BUF (1024 * 1024)