aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--win32/win32.h8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c21f777fc7..35c51fbc8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 7 09:10:32 2001 Usaku Nakamura <usa@ruby-lang.org>
+
+ * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
+
Mon Aug 6 23:47:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* pack.c (pack_unpack): associates p/P strings once at
diff --git a/win32/win32.h b/win32/win32.h
index 0cd07eebcc..94c8bd7845 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);