Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/lighttpd/sys_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ int inet_aton(const char *cp, struct in_addr *inp);
(sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
#endif /* SUN_LEN */

#ifdef __FreeBSD__
#define SOL_TCP IPPROTO_TCP
#endif

#define sockread( fd, buf, bytes ) read( fd, buf, bytes )
#define closesocket(x) close(x)

Expand Down