blob: a19a761bf2051ae743d68d0f9775f6d16f9ae02f (
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.4 2009/12/10 20:35:56 abs Exp $
--- lib/libxview/io_stream/str_strms.c.orig 1993-06-29 05:15:06.000000000 +0000
+++ lib/libxview/io_stream/str_strms.c
@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)str_strm
#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 @@ string_input_stream(s, in)
#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;
};
|