$NetBSD: patch-ab,v 1.3 2025/12/18 13:18:18 nia Exp $

Fix y2038 bugs; time_t != long

--- sunclock.c.orig	2008-08-07 12:40:24.000000000 +0000
+++ sunclock.c
@@ -116,6 +116,7 @@
 #include <sys/timeb.h>
 #include <sys/stat.h>
 #include <string.h>
+#include <strings.h>
 #include <X11/Xatom.h>
 
 #define DEFVAR
@@ -127,7 +128,6 @@
  *  external routines
  */
 
-extern long     time();
 #ifdef NEW_CTIME
 extern char *   timezone();
 #endif
