summaryrefslogtreecommitdiff
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
commit9806d804069c5bdd9d4f0fe98ae1bc5de2403990 (patch)
tree1f62d9f78ed4c943ba1193c70042f6d3cabf2ac3 /missing.h
parentc538f75a5137b3201da72949454d65615afbeb7f (diff)
* missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
git-svn-id: svn+ssh://ci.ruby-lang.org/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 ac499bd7d7..ecd357ef7d 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));