pkgsrc/print/LPRng-core/patches/patch-af
joerg e880439d80 Fix errno deetection and use of the test results. Isn't it a lot better
when the conditional matches the variable name from the test case?
2005-12-29 13:46:16 +00:00

13 lines
295 B
Text

$NetBSD: patch-af,v 1.1 2005/12/29 13:46:16 joerg Exp $
--- src/common/lpf.c.orig 2005-12-28 21:49:47.000000000 +0000
+++ src/common/lpf.c
@@ -135,7 +135,7 @@ int plp_vsnprintf ();
# include <sys/file.h>
#endif
-#ifndef HAVE_ERRNO_DECL
+#ifndef HAVE_DECL_ERRNO
extern int errno;
#endif