mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
#include netinet/tcp.h so TCP_* will actually be defined
This header needs to be included so the TCP_* defines are available. Sockets created with open-client-stream and open-server-stream would try to set TCP_NODELAY if available, but they couldn't because this was not defined. Tested on OpenBSD and Linux.
This commit is contained in:
parent
bfc58c219e
commit
0c5be44ad9
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ extern int errno;
|
|||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue