ports/mail/qmail-rblchk/files/patch-error.h
Robert Clausecker dde7164c7f mail/qmail-rblchk: fix build on FreeBSD 15
- set LICENSE
 - include errno.h to get errno, instead of declaring it as an extern
   variable.
2024-09-30 16:01:54 +02:00

11 lines
195 B
C

--- error.h.orig 2024-09-25 10:49:27 UTC
+++ 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;