summaryrefslogtreecommitdiff
path: root/www/mMosaic/patches/patch-ag
blob: 2a84a005c8f99263cc037d896bdc5244257bac49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ag,v 1.1 2006/01/19 22:44:27 joerg Exp $

--- src/file-proto.c.orig	2006-01-19 22:34:36.000000000 +0000
+++ src/file-proto.c
@@ -11,6 +11,7 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <assert.h>
+#include <errno.h>
 
 /* From seanm@storm.ca  Fri Dec  8 04:44:43 2000 *
 /* old: #if defined(SVR4) && !defined(SCO) && !defined(linux) */
@@ -21,8 +22,6 @@
 #include <unistd.h>
 #endif
 
-extern int errno;
-
 #include "../libnut/system.h"
 #include "../libhtmlw/HTML.h"
 #include "mosaic.h"