--- logview/actions.c.orig	Wed Apr 26 22:32:02 2000
+++ logview/actions.c	Tue May 30 13:34:05 2000
@@ -1,6 +1,7 @@
 #include "logview.h"
 #include <string.h>
 #include <stdlib.h>
+#include <sys/types.h>
 #include <regex.h>
 #include <config.h>
 #include <gnome.h>
--- logview/desc_db.c.orig	Wed Apr 26 22:32:02 2000
+++ logview/desc_db.c	Tue May 30 13:34:36 2000
@@ -1,5 +1,6 @@
 #include "logview.h"
 #include <string.h>
+#include <sys/types.h>
 #include <regex.h>
 #include <stdlib.h>
 
--- logview/logrtns.c.orig	Tue May 30 13:35:22 2000
+++ logview/logrtns.c	Tue May 30 13:37:45 2000
@@ -679,7 +679,7 @@
       if (IsLeapYear (curmark->year - lastyear + thisyear))
 	 curmark->time += 24 * 60 * 60;		/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
       curmark->time += correction - tmptm->tm_gmtoff;
 #else
       curmark->time += correction - timezone;
@@ -705,7 +705,7 @@
    if (IsLeapYear (thisyear))
       log->lstats.enddate += 24 * 60 * 60;	/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
    log->lstats.enddate += correction - tmptm->tm_gmtoff;
 #else
    log->lstats.enddate += correction - timezone;
@@ -716,7 +716,7 @@
    if (IsLeapYear (thisyear - lastyear))
       log->lstats.startdate += 24 * 60 * 60;	/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
    log->lstats.startdate += correction - tmptm->tm_gmtoff;
 #else
    log->lstats.startdate += correction - timezone;
