blob: 707f7351f1a9d3325caa061e2ab0b67f0bfad949 (
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-am,v 1.5 2009/12/10 20:35:56 abs Exp $
--- lib/libxview/io_stream/file_strms.c.orig 1993-06-29 05:15:07.000000000 +0000
+++ lib/libxview/io_stream/file_strms.c
@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)file_str
#define GetFISData struct xv_file_input_stream_data *data = (struct xv_file_input_stream_data*) in->client_data
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
static struct xv_file_input_stream_data {
+#else
+struct xv_file_input_stream_data {
+#endif
FILE *fp;
int lineno;
};
@@ -156,7 +160,11 @@ xv_file_input_stream(s, fp)
#define GetFOSData struct xv_file_output_stream_data *data = (struct xv_file_output_stream_data*) out->client_data
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
static struct xv_file_output_stream_data {
+#else
+struct xv_file_output_stream_data {
+#endif
FILE *fp;
int lineno;
};
|