]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Fix the FreeBSD build
authorVolker Lendecke <vl@samba.org>
Fri, 22 Jul 2022 17:36:59 +0000 (19:36 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 23 Jul 2022 23:29:38 +0000 (23:29 +0000)
"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>
lib/util/time.h

index bdb67de54317a0ba2ad7bc06823d94e950260355..8b61e41ae94a5a01f86a4281cd2cf78ffa8dfee6 100644 (file)
@@ -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 */