diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-12 07:35:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-12 07:35:57 +0000 |
commit | 9f05b9c58904450bc38f7aeafba283f2087a049b (patch) | |
tree | ccb80b071b1334b443c24975d5ffb23289a1084f /graphics/tcm/patches/patch-an | |
parent | 5796579ea61b9c8c0ede17ec4b0e32a3a94edfe9 (diff) | |
download | pkgsrc-9f05b9c58904450bc38f7aeafba283f2087a049b.tar.gz |
Wrap inclusion of <iostdio.h> within check for LESSTIF. Motif's
<Xm/Text.h> includes <stdio.h> while LessTif's doesn't, and stdio.h and
iostdio.h have conflicting definitions.
Diffstat (limited to 'graphics/tcm/patches/patch-an')
-rw-r--r-- | graphics/tcm/patches/patch-an | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/tcm/patches/patch-an b/graphics/tcm/patches/patch-an index 95b527675b7..6e8120f9942 100644 --- a/graphics/tcm/patches/patch-an +++ b/graphics/tcm/patches/patch-an @@ -1,16 +1,18 @@ -$NetBSD: patch-an,v 1.1.1.1 2001/02/24 01:30:07 jtb Exp $ +$NetBSD: patch-an,v 1.2 2001/09/12 07:35:58 jlam Exp $ ---- ui/application.c.orig Fri Nov 10 09:52:16 2000 +--- ui/application.c.orig Fri Nov 10 04:52:16 2000 +++ ui/application.c -@@ -29,6 +29,7 @@ +@@ -29,6 +29,9 @@ #include "system.h" #include "color.h" #include <stdlib.h> ++#ifdef LESSTIF +#include <iostdio.h> ++#endif #include <string.h> #include <Xm/XmStrDefs.h> #ifdef USE_XMIM -@@ -41,7 +42,7 @@ +@@ -41,7 +44,7 @@ return Application::XErrorHandler(dpy, err_event); } |