ports/mail/qmailanalog/files/patch-error.h
Brooks Davis 2a45473e53 mail/qmailanalog: include errno.h for errno
errno must be accessed by a macro from errno.h.
2024-09-30 23:13:42 +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;