summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ag
blob: 2e4f27e94b18e0426e3f5139b0ee3a8837b35474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.1 2005/05/31 09:13:19 salo Exp $

--- nbase/nbase_misc.c.orig	2005-05-31 08:30:08.000000000 +0200
+++ nbase/nbase_misc.c
@@ -101,7 +101,9 @@
 
 #ifndef WIN32
 #include <errno.h>
+#ifndef errno
 extern int errno;
+#endif
 #else
 #include <winsock2.h>
 #endif