summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-07 00:21:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-07 00:21:40 +0000
commitdfaaa55199638cd56edb05b22b11730920cb653d (patch)
tree719dcbe80d6dcd34ca1dff13eb439e38b89fe131 /win32/win32.h
parentf141f2e543ec02c8e43e7617bce9ac988ba22b46 (diff)
* win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 0cd07eebccc..94c8bd7845e 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -100,7 +100,11 @@ extern "C++" {
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/utime.h>
+#if !defined(__BORLANDC__)
+# include <sys/utime.h>
+#else
+# include <utime.h>
+#endif
#include <io.h>
#include <malloc.h>
@@ -248,7 +252,9 @@ extern int isnan(double);
//
// stubs
//
+#if !defined(__BORLANDC__)
extern int ioctl (int, unsigned int, long);
+#endif
extern UIDTYPE getuid (void);
extern UIDTYPE geteuid (void);
extern GIDTYPE getgid (void);