diff options
author | rtr <rtr@pkgsrc.org> | 2006-01-06 14:47:56 +0000 |
---|---|---|
committer | rtr <rtr@pkgsrc.org> | 2006-01-06 14:47:56 +0000 |
commit | 87897c790e199daa143a41e0b983d41121679eda (patch) | |
tree | 1493b5e4c26c6b8fc5417b6ff6eb3fc9966058fb /editors/nvi/patches/patch-ae | |
parent | f19324ea985ec59d15cc3ef3f41d17c5691c4725 (diff) | |
download | pkgsrc-87897c790e199daa143a41e0b983d41121679eda.tar.gz |
include ctype.h earlier to avoid isblank macro running over c99 isblank()
* fixes build on Solaris10
Diffstat (limited to 'editors/nvi/patches/patch-ae')
-rw-r--r-- | editors/nvi/patches/patch-ae | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/nvi/patches/patch-ae b/editors/nvi/patches/patch-ae new file mode 100644 index 00000000000..48e4705eab4 --- /dev/null +++ b/editors/nvi/patches/patch-ae @@ -0,0 +1,14 @@ +--- common/common.h.orig Tue Apr 24 08:46:55 2001 ++++ common/common.h Sat Jan 7 01:36:53 2006 +@@ -16,6 +16,11 @@ + #include <sys/queue.h> + #include <bitstring.h> + /* ++ * include ctype very early to avoid real functions being run over by ++ * macros. ++ */ ++#include <ctype.h> ++/* + * Porting information built at configuration time. Included before + * any of nvi's include files. + */ |