ports/sysutils/daemontools/files/patch-error.h
Brooks Davis cbfd08c3d4 sysutils/daemontools: include errno.h for errno
errno must be accessed by a macro from errno.h.

PR:		281782
Approved by:	portmgr (build fix blanket), mikael
2024-10-01 21:11:47 +01:00

11 lines
171 B
C

--- error.h.orig
+++ error.h
@@ -3,7 +3,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;