summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-07-22 19:36:59 +0200
committerJeremy Allison <jra@samba.org>2022-07-23 23:29:38 +0000
commit0d1890011ef796998f9d9dbd220c9d2ab239cc82 (patch)
tree79375ae01e13c2ea38d4f1a59b2158ebfe62ead7 /lib/util
parentd7fe63c91a0a824aa317e4f95665d589af5ce804 (diff)
downloadsamba-0d1890011ef796998f9d9dbd220c9d2ab239cc82.tar.gz
lib: Fix the FreeBSD build
"time_t" only comes in via a proper include of <time.h> Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/time.h b/lib/util/time.h
index bdb67de5431..8b61e41ae94 100644
--- a/lib/util/time.h
+++ b/lib/util/time.h
@@ -27,6 +27,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <talloc.h>
+#include <time.h>
#ifndef TIME_T_MIN
/* we use 0 here, because (time_t)-1 means error */