Brooks Davis 4f7686e089 security/checkpassword: include errno.h for errno
errno must be accessed by a macro from errno.h.

PR:		281780
Approved by:	garga (maintainer)
2024-10-01 16:27:21 +01:00

12 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;