Fixup fromcvs/togit conversion
[pkgsrcv2.git] / x11 / xview-lib / patches / patch-ao
1 $NetBSD: patch-ao,v 1.3 2006/01/05 18:25:57 joerg Exp $
2
3 --- lib/libxview/io_stream/str_strms.c.orig     1993-06-29 05:15:06.000000000 +0000
4 +++ lib/libxview/io_stream/str_strms.c
5 @@ -17,7 +17,11 @@ static char     sccsid[] = "@(#)str_strm
6  
7  #define GetSISData struct string_input_stream_data     *data = (struct string_input_stream_data*) in->client_data
8  
9 +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
10  static struct string_input_stream_data {
11 +#else
12 +struct string_input_stream_data {
13 +#endif
14      char           *string;
15      int             charpos;
16  };
17 @@ -148,7 +152,11 @@ string_input_stream(s, in)
18  
19  #define GetSOSData struct string_output_stream_data *data = (struct string_output_stream_data*) out->client_data
20  
21 +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
22  static struct string_output_stream_data {
23 +#else
24 +struct string_output_stream_data {
25 +#endif
26      char           *string;
27      int             charpos;
28  };