summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/nwutil/files/1.4-errno.patch')
-rw-r--r--sys-block/nwutil/files/1.4-errno.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-block/nwutil/files/1.4-errno.patch b/sys-block/nwutil/files/1.4-errno.patch
new file mode 100644
index 000000000000..a78c2128b2fa
--- /dev/null
+++ b/sys-block/nwutil/files/1.4-errno.patch
@@ -0,0 +1,11 @@
+--- debug.c.orig 2004-06-26 04:21:23.881871000 +0000
++++ debug.c 2004-06-26 04:21:36.941871000 +0000
+@@ -52,7 +52,7 @@
+ #define UNLOCK outb(0x370, 0x87); outb(0x370, 0x87);
+ #define LOCK outb(0x370, 0xAA);
+
+-extern int errno;
++#include <errno.h>
+
+ int tmpSuperIO;
+