netbsd netinet include
https://github.com/warmcat/libwebsockets/issues/442 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
5e091c62a8
commit
8df3ef15ab
2 changed files with 10 additions and 0 deletions
|
@ -140,6 +140,11 @@ struct sockaddr_in;
|
|||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/cdefs.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#define LWS_INLINE inline
|
||||
#define LWS_O_RDONLY O_RDONLY
|
||||
|
||||
|
|
|
@ -62,6 +62,11 @@
|
|||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/cdefs.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#define MAX_FUZZ_BUF (1024 * 1024)
|
||||
|
||||
enum types {
|
||||
|
|
Loading…
Add table
Reference in a new issue