Minimal changes to get it to compile (a few taken from David Given ack-6.0pre5)
[Ack-5.5.git] / util / int / moncalls.c
index ec48eec..18dfc42 100644 (file)
@@ -16,7 +16,8 @@
 #endif
 #include       <sys/times.h>
 
-extern int errno;                      /* UNIX error number */
+#include <errno.h>
+/*extern int errno;*/                  /* UNIX error number */
 
 extern int running;                    /* from main.c */
 extern int fd_limit;                   /* from io.c */
@@ -26,7 +27,7 @@ extern int fd_limit;                  /* from io.c */
 #ifdef BSD_X                           /* from system.h */
 #include       <sys/timeb.h>
 #endif /* BSD_X */
-#ifdef SYS_V
+#if 1 //def    SYS_V
 struct timeb {                 /* non-existing; we use an ad-hoc definition */
        long time;
        unsigned short millitm;