$NetBSD: patch-ae,v 1.2 2004/06/15 04:24:30 minskim Exp $

--- nixtime.i.orig	1991-07-16 10:53:46.000000000 -0500
+++ nixtime.i
@@ -1,3 +1,5 @@
+#include <time.h>
+
 #ifndef LINT
 static char nixtimeid[]="@(#) nixtime.i 2.3 88/01/24 12:49:28";
 #endif /* LINT */
@@ -52,7 +54,8 @@ unsigned int date, time;
 	long mstonix();
 	long gettz();
 	long utimbuf[2];
-	utimbuf[0] = utimbuf[1] = gettz() + mstonix (date, time);
+	long t = mstonix (date, time);
+	utimbuf[0] = utimbuf[1] = t + gettz(t);
 	return (utime (path, utimbuf));
 }