netbsd netinet include
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
1bcc110299
commit
c0495892bc
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue