16 lines
461 B
Text
16 lines
461 B
Text
$NetBSD: patch-ab,v 1.5 2005/09/06 08:11:00 abs 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__ >= 299000900) /* NetBSD 2.99.9 */
|
|
+ struct statvfs stat;
|
|
+#else
|
|
struct statfs stat;
|
|
+#endif
|
|
double b, x;
|
|
char tmp[5];
|
|
HANDLE2(argc != 2, "Wrong # of args");
|