summaryrefslogtreecommitdiffhomepage
path: root/src/socket.c
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2014-07-02 09:08:47 +0900
committerTomoyuki Sahara <[email protected]>2014-07-02 09:08:47 +0900
commit9c3c267bef3e8aace43187ba6395d7779749d754 (patch)
tree25abb38eccfb54c6f09e08f362b1dfd481284d51 /src/socket.c
parent376af5bac31f1b38554a72d879972d45dfe7cdb7 (diff)
parentf3c71cf5da380839a15409684dbbb02122f63177 (diff)
downloadmruby-9c3c267bef3e8aace43187ba6395d7779749d754.tar.gz
mruby-9c3c267bef3e8aace43187ba6395d7779749d754.zip
Merge pull request #14 from dreamedge/add_tcp_constants
Add TCP_* constants included in "netinet/tcp.h".
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c1
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>