summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/socket/depend2
-rw-r--r--ext/socket/getnameinfo.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/socket/depend b/ext/socket/depend
index 4c90ef1..ba8cdce 100644
--- a/ext/socket/depend
+++ b/ext/socket/depend
@@ -1,4 +1,4 @@
-getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
+getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h rubysocket.h
getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
constdefs.h constdefs.c : $(srcdir)/mkconstants.rb
diff --git a/ext/socket/getnameinfo.c b/ext/socket/getnameinfo.c
index b7e75f7..94a5eb9 100644
--- a/ext/socket/getnameinfo.c
+++ b/ext/socket/getnameinfo.c
@@ -76,6 +76,7 @@ typedef int socklen_t;
#include "addrinfo.h"
#include "sockport.h"
+#include "rubysocket.h"
#define SUCCESS 0
#define ANY 0