dns/dnshistory: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-28 19:48:56 +00:00
parent 08f604fb81
commit fc88134287
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546812

View File

@ -0,0 +1,11 @@
--- src/dnshistory.h.orig 2020-08-28 19:46:38 UTC
+++ src/dnshistory.h
@@ -163,7 +163,7 @@ typedef struct {
* GLOBALS *
************************************************************************/
/*-- Date/Time --*/
-time_t current_day; /* The current day, check to see if we need to update a record in this run
+extern time_t current_day; /* The current day, check to see if we need to update a record in this run
Also see SAME_RUN */
/*-- DB Setup --*/