tags 324579 +patch
thanks

Here's a patch I used to fix this. tct now builds correctly.

Hamish

--- tct-1.11.orig/src/file/compress.c
+++ tct-1.11/src/file/compress.c
@@ -11,6 +11,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/wait.h>
+#include <errno.h>
 
 #include "file.h"
 
--- tct-1.11.orig/src/file/fsmagic.c
+++ tct-1.11/src/file/fsmagic.c
@@ -31,6 +31,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <errno.h>
 #ifndef        major                   /* if `major' not defined in types.h, */
 #include <sys/sysmacros.h>     /* try this one. */
 #endif
--- tct-1.11.orig/src/file/file.c
+++ tct-1.11/src/file/file.c
@@ -36,6 +36,7 @@
 #include <sys/param.h> /* for MAXPATHLEN */
 #include <sys/stat.h>
 #include <fcntl.h>     /* for open() */
+#include <errno.h>
 #if (__COHERENT__ >= 0x420)
 #include <sys/utime.h>
 #else
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to