From c115a19758196af4a8eac7e831169e840797b3ae Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 30 Sep 2024 16:56:09 +0100 Subject: mail/serialmail: include errno.h for errno errno must be accessed by a macro from errno.h. --- mail/serialmail/files/patch-error.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mail/serialmail/files/patch-error.h (limited to 'mail/serialmail/files/patch-error.h') diff --git a/mail/serialmail/files/patch-error.h b/mail/serialmail/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/mail/serialmail/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 + + extern int error_intr; + extern int error_nomem; -- cgit v1.2.3