ports/mail/serialmail/files/patch-error.h
Brooks Davis c115a19758 mail/serialmail: include errno.h for errno
errno must be accessed by a macro from errno.h.
2024-09-30 23:13:43 +01:00

11 lines
171 B
C

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