From 7bb6358540c5b505c39dcb204fc24371f64a8789 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 27 Nov 2018 13:46:44 +0000 Subject: [PATCH] Better fix. git-svn-id: file:///svn/unbound/trunk@4987 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/data/msgencode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/data/msgencode.c b/util/data/msgencode.c index 3d91680bd..4c0a5550b 100644 --- a/util/data/msgencode.c +++ b/util/data/msgencode.c @@ -50,9 +50,10 @@ #include "sldns/sbuffer.h" #include "services/localzone.h" -#ifdef HAVE_SYS_TYPES_H -# include +#ifdef HAVE_TIME_H +#include #endif +#include /** return code that means the function ran out of memory. negative so it does * not conflict with DNS rcodes. */ -- 2.47.3