1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/cdecl/files/patch-02
David E. O'Brien 2bc00d96c9 Cdecl composes compilable C declarations and typecasts from descriptive
English phrases, and can also explain a complicated typecast or declaration.
It handles ANSI C, C++, pre-ANSI C, and K&R C, and has TAB completion of
keywords and line editing and history (provided by the GNU readline library).
1999-09-05 05:07:08 +00:00

13 lines
333 B
Plaintext

--- cdecl.c.orig Mon Jan 15 19:54:46 1996
+++ cdecl.c Sat Sep 4 20:02:59 1999
@@ -67,6 +67,9 @@
# include <stddef.h>
# include <string.h>
# include <stdarg.h>
+# ifndef DOS
+# include <errno.h> /* only M$-DOS environments have ``errno'' in stdlib.h */
+# endif /* ndef DOS */
#else
# ifndef NOVARARGS
# include <varargs.h>