Skip to content

Commit c73d01f

Browse files
author
Antonin Houska
committed
Add includes necessary to build the code on FreeBSD.
1 parent 7ecde50 commit c73d01f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/include/wbsocket.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef _WB_SOCKET_H
22
#define _WB_SOCKET_H 1
33

4+
#include <sys/socket.h>
5+
46
#include "wbglobals.h"
57
#include "wbproto.h"
68
#include "wbconfig.h"

src/wbsocket.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <errno.h>
55
#include <fcntl.h>
66
#include <netdb.h>
7+
#include <netinet/in.h>
78
#include <stddef.h>
89
#include <stdio.h>
910
#include <string.h>

0 commit comments

Comments
 (0)