From 46cdafa7e1c24f4fbcace3c9967d8d451b31ce79 Mon Sep 17 00:00:00 2001 From: gnezdo Date: Tue, 6 Aug 2024 04:59:18 +0000 Subject: [PATCH] Replace sys/time.h with proper includes for using localtime Sure deraadt@ --- usr.bin/make/timestamp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/make/timestamp.c b/usr.bin/make/timestamp.c index 38c47533cb4..a26d6dff930 100644 --- a/usr.bin/make/timestamp.c +++ b/usr.bin/make/timestamp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timestamp.c,v 1.12 2024/04/09 15:08:21 cheloha Exp $ */ +/* $OpenBSD: timestamp.c,v 1.13 2024/08/06 04:59:18 gnezdo Exp $ */ /* * Copyright (c) 2001 Marc Espie. @@ -24,7 +24,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include +#include #include #include #include "defines.h" -- 2.20.1