1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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>
This commit is contained in:
Volker Lendecke 2022-07-22 19:36:59 +02:00 committed by Jeremy Allison
parent d7fe63c91a
commit 0d1890011e

View 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 */