summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-16 04:24:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-16 04:24:38 +0000
commit16487ee284f17cfbf6fad9f6b2fedc57f0f37e0a (patch)
tree0c0aab325ab782ff559d1cfa5df269e786219ee3 /util.c
parent83687c4eb47e2bcbe463d097317d068d1dd0b734 (diff)
baseline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.c b/util.c
index 09e4a013c6..a5049a72f4 100644
--- a/util.c
+++ b/util.c
@@ -93,6 +93,9 @@ int *retlen;
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#if defined(HAVE_FCNTL)
+#include <fcntl.h>
+#endif
#ifndef S_ISDIR
# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)