ports/mail/dot-forward/files/patch-error.h
Brooks Davis 6204518869 mail/dot-forward: include errno.h for errno
errno must be accessed by a macro from errno.h.
2024-09-30 23:11:20 +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;