pkgsrc/www/mMosaic/patches/patch-ag
2006-01-19 22:44:27 +00:00

21 lines
513 B
Text

$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"