summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authortakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-18 23:47:21 +0000
committertakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-18 23:47:21 +0000
commitd5e593e6beb2f33c302ad1647b1645844c962ffa (patch)
treee2489d8a607a33bb7b9665e12cb4f1c82a1a3f39 /ext
parent36a913e51ee24aae22bd6ca1f6e3dc680ba87177 (diff)
downloadruby-d5e593e6beb2f33c302ad1647b1645844c962ffa.tar.gz
ruby-d5e593e6beb2f33c302ad1647b1645844c962ffa.tar.xz
ruby-d5e593e6beb2f33c302ad1647b1645844c962ffa.zip
* ext/socket/rubysocket.h: add "#include <sys/stat.h>"
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/rubysocket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h
index d6f09fe1e..3fd0b48ac 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>