mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
23 lines
436 B
Plaintext
23 lines
436 B
Plaintext
$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()
|
|
{
|