ports/sysutils/qlogtools/files/patch-qfilelog.c
Brooks Davis 7f9480c704 sysutils/qlogtools: include errno.h for errno
errno must be accessed by a macro from errno.h.
2024-09-30 23:13:44 +01:00

14 lines
226 B
C

--- qfilelog.c.orig
+++ qfilelog.c
@@ -1,10 +1,9 @@
+#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-
-extern int errno;
#define PAUSE sleep(60)