summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-ao
blob: 4db78ab12aff83fc83a744a615d282e307e655fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ao,v 1.3 2006/01/05 18:25:57 joerg Exp $

--- lib/libxview/io_stream/str_strms.c.orig	Tue Jun 29 07:15:06 1993
+++ lib/libxview/io_stream/str_strms.c	Thu Dec 20 10:09:16 2001
@@ -17,7 +17,11 @@
 
 #define GetSISData struct string_input_stream_data	*data = (struct string_input_stream_data*) in->client_data
 
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
 static struct string_input_stream_data {
+#else
+struct string_input_stream_data {
+#endif
     char           *string;
     int             charpos;
 };
@@ -148,7 +152,11 @@
 
 #define GetSOSData struct string_output_stream_data *data = (struct string_output_stream_data*) out->client_data
 
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
 static struct string_output_stream_data {
+#else
+struct string_output_stream_data {
+#endif
     char           *string;
     int             charpos;
 };