summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/qtools/files/qtools-0.56-errno.patch')
-rw-r--r--net-mail/qtools/files/qtools-0.56-errno.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mail/qtools/files/qtools-0.56-errno.patch b/net-mail/qtools/files/qtools-0.56-errno.patch
new file mode 100644
index 000000000000..a5fdab64b733
--- /dev/null
+++ b/net-mail/qtools/files/qtools-0.56-errno.patch
@@ -0,0 +1,12 @@
+--- qtools-0.56.old/error.h 2000-03-18 14:01:20.000000000 -0800
++++ qtools-0.56/error.h 2003-03-23 21:50:05.000000000 -0800
+@@ -1,7 +1,8 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++/* extern int errno; */
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;