16 lines
463 B
Text
16 lines
463 B
Text
$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");
|