diff options
| author | dreamedge <[email protected]> | 2014-07-02 00:30:10 +0900 |
|---|---|---|
| committer | dreamedge <[email protected]> | 2014-07-02 00:30:10 +0900 |
| commit | f3c71cf5da380839a15409684dbbb02122f63177 (patch) | |
| tree | 25abb38eccfb54c6f09e08f362b1dfd481284d51 /src/socket.c | |
| parent | 376af5bac31f1b38554a72d879972d45dfe7cdb7 (diff) | |
| download | mruby-f3c71cf5da380839a15409684dbbb02122f63177.tar.gz mruby-f3c71cf5da380839a15409684dbbb02122f63177.zip | |
Add TCP_* constants included in "netinet/tcp.h".
ex: TCP_NODELAY, TCP_CORK, ...
Diffstat (limited to 'src/socket.c')
| -rw-r--r-- | src/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c index ded5dfa25..2bf9cd675 100644 --- a/src/socket.c +++ b/src/socket.c @@ -9,6 +9,7 @@ #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> +#include <netinet/tcp.h> #include <arpa/inet.h> #include <fcntl.h> #include <netdb.h> |
