summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/rubysocket.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b78c13f..2d24378 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Feb 19 08:45:48 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
+
+ * ext/socket/rubysocket.h: add "#include <sys/stat.h>"
+
Thu Feb 19 03:42:48 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/ancdata.c (ancillary_rights): new method.
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h
index d6f09fe..3fd0b48 100644
--- a/ext/socket/rubysocket.h
+++ b/ext/socket/rubysocket.h
@@ -6,6 +6,7 @@
#include "ruby/util.h"
#include <stdio.h>
#include <sys/types.h>
+#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>