Include errno.h to use errno on Darwin.
This commit is contained in:
parent
f153a65ca4
commit
859da62ea1
2 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.5 2005/02/23 22:24:11 agc Exp $
|
||||
$NetBSD: distinfo,v 1.6 2005/04/01 15:33:35 minskim Exp $
|
||||
|
||||
SHA1 (cdecl-2.5.tar.gz) = b955a0b95b635090360b19de888cb29d5c005296
|
||||
RMD160 (cdecl-2.5.tar.gz) = 351c36dcc7f18e4d143f2559460025d2de9a83c4
|
||||
Size (cdecl-2.5.tar.gz) = 21435 bytes
|
||||
SHA1 (patch-aa) = d9a5c55d98632acd0fb72b0de43a3421798ed9c0
|
||||
SHA1 (patch-aa) = 44aa70378d483eedb468069e59d3676ba06f9cb0
|
||||
SHA1 (patch-ab) = e8c9f70894ed5613234ed17b8c1c95c9b12afd7b
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: patch-aa,v 1.4 2004/09/13 06:07:03 minskim Exp $
|
||||
$NetBSD: patch-aa,v 1.5 2005/04/01 15:33:35 minskim Exp $
|
||||
|
||||
--- cdecl.c.orig 1996-01-15 21:54:46.000000000 -0600
|
||||
--- cdecl.c.orig Mon Jan 15 21:54:46 1996
|
||||
+++ cdecl.c
|
||||
@@ -59,7 +59,9 @@
|
||||
*/
|
||||
|
@ -31,7 +31,7 @@ $NetBSD: patch-aa,v 1.4 2004/09/13 06:07:03 minskim Exp $
|
|||
# endif /* NOVOID */
|
||||
#endif /* __STDC__ || DOS */
|
||||
|
||||
+#if defined(__svr4__) && defined(__sun__) || defined(__NetBSD__)
|
||||
+#if defined(__svr4__) && defined(__sun__) || defined(__NetBSD__) || defined(__APPLE__)
|
||||
+#include <errno.h>
|
||||
+#endif
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue