gentoo-overlay/sys-block/nwutil/files/1.4-errno.patch

11 lines
276 B
Diff

--- 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;