summaryrefslogtreecommitdiffstats
path: root/missing.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-10 13:56:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-10 13:56:08 +0000
commit06097c2519da87effe32e07bf0dcaeb3acbf12e1 (patch)
tree1f62d9f78ed4c943ba1193c70042f6d3cabf2ac3 /missing.h
parent9b054940c560619fa4213c114163739d7c6f576c (diff)
downloadruby-06097c2519da87effe32e07bf0dcaeb3acbf12e1.tar.gz
ruby-06097c2519da87effe32e07bf0dcaeb3acbf12e1.tar.xz
ruby-06097c2519da87effe32e07bf0dcaeb3acbf12e1.zip
* missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing.h')
-rw-r--r--missing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/missing.h b/missing.h
index ac499bd7d..ecd357ef7 100644
--- a/missing.h
+++ b/missing.h
@@ -21,6 +21,9 @@ struct timeval {
time_t tv_usec; /* microseconds */
};
#endif
+#if defined(HAVE_SYS_TYPES_H)
+# include <sys/types.h>
+#endif
#ifndef HAVE_ACOSH
extern double acosh _((double));