summaryrefslogtreecommitdiff
path: root/win32
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
commitfb6245957e14511946ebb79dd3df4c61c90e38c1 (patch)
treeef23597ea7fb0a1cc93fc036aa361ae2a90b138a /win32
parentaf360d95bfd4eb4d97106e285914e10a648b2c55 (diff)
* win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index ffbe967703..4b31e94a95 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -99,7 +99,11 @@ extern "C++" {
#include <time.h>
#include <math.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>
@@ -230,7 +234,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);