Must include unix-emulation header files. These were inadvertently
authorChris Hanson <org/chris-hanson/cph>
Sat, 23 Dec 2000 02:45:55 +0000 (02:45 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 23 Dec 2000 02:45:55 +0000 (02:45 +0000)
removed with the mktemp changes.

v7/src/microcode/bchdmp.c

index 1e72d590715e0053c6ca2dce7979ea2230361edf..fa3b3862092c40e9d63df3d1a7f587b4638e32f2 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: bchdmp.c,v 9.86 2000/12/05 21:23:42 cph Exp $
+$Id: bchdmp.c,v 9.87 2000/12/23 02:45:55 cph Exp $
 
 Copyright (c) 1987-2000 Massachusetts Institute of Technology
 
@@ -63,6 +63,20 @@ extern SCHEME_OBJECT * EXFUN
 #ifdef __OS2__
 #  include "os2.h"
    static char FASDUMP_FILENAME[] = "faXXXXXX";
+#  ifdef __EMX__
+#    include <io.h>
+#  endif
+#  if defined(__IBMC__) || defined(__WATCOMC__)
+#    include <io.h>
+#    include <sys\stat.h>
+#    include <fcntl.h>
+#    ifndef F_OK
+#      define F_OK 0
+#      define X_OK 1
+#      define W_OK 2
+#      define R_OK 4
+#    endif
+#  endif
 #endif
 \f
 static Tchannel dump_channel;