summaryrefslogtreecommitdiff
path: root/mail/mess822/files/patch-error.h
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-09-30 16:56:09 +0100
committerBrooks Davis <brooks@FreeBSD.org>2024-09-30 23:11:21 +0100
commit74b8645f51e965106064373b43ce13b552adfe1e (patch)
tree7fe0594cd289d3fc1b926984ee2ef74be088f7bb /mail/mess822/files/patch-error.h
parentmail/fastforward: include errno.h for errno (diff)
mail/mess822: include errno.h for errno
errno must be accessed by a macro from errno.h.
Diffstat (limited to 'mail/mess822/files/patch-error.h')
-rw-r--r--mail/mess822/files/patch-error.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mess822/files/patch-error.h b/mail/mess822/files/patch-error.h
new file mode 100644
index 000000000000..e35ddb04802a
--- /dev/null
+++ b/mail/mess822/files/patch-error.h
@@ -0,0 +1,11 @@
+--- error.h.orig
++++ error.h
+@@ -1,7 +1,7 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;