22 lines
436 B
Text
22 lines
436 B
Text
$NetBSD: patch-ab,v 1.2 2005/12/19 00:06:47 joerg Exp $
|
|
|
|
--- decode.c.orig 1990-08-05 11:04:08.000000000 +0000
|
|
+++ decode.c
|
|
@@ -16,6 +16,9 @@
|
|
#include <time.h>
|
|
#define index strchr
|
|
#else
|
|
+#ifdef __linux__
|
|
+#include <time.h>
|
|
+#endif
|
|
#ifdef __TURBOC__
|
|
#include <time.h>
|
|
#include <io.h>
|
|
@@ -38,7 +41,6 @@ int type,dline;
|
|
unsigned char decbuf[LBUFLEN][LBUFLEN];
|
|
|
|
extern unsigned char *index();
|
|
-extern int errno;
|
|
|
|
decode()
|
|
{
|