summaryrefslogtreecommitdiff
path: root/x11/filerunner/patches/patch-ab
blob: 9163dc056f1fd3b205dc5042402c4ef912977693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.4 2004/08/15 03:25:24 minskim Exp $

--- ext.c.orig	1999-12-30 11:21:49.000000000 -0600
+++ ext.c
@@ -654,7 +654,11 @@ GetDF(ClientData clientData, Tcl_Interp*
                            int argc, char* argv[])
 {
   int i;
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */
+  struct statvfs stat;
+#else
   struct statfs stat;
+#endif
   double b, x;
   char tmp[5];
   HANDLE2(argc != 2, "Wrong # of args");