On 5/24/24 8:56 PM, Bruno Haible wrote:
> readutmp now needs a module dependency on gettimetoday, right?

Oops, yes. Because readutmp doesn't use boot-time as a dependency,
instead it uses the boot-time-aux.h file.

I've pushed the attached patch.

Collin
From ff1594abd5d7d4a74bc3f7f089eaf101bcab8638 Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.fu...@gmail.com>
Date: Fri, 24 May 2024 20:59:51 -0700
Subject: [PATCH] readutmp: Fix dependencies.

* modules/readutmp (Depends-on): Add gettimeofday.
---
 ChangeLog        | 3 +++
 modules/readutmp | 1 +
 2 files changed, 4 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 31fd396b43..0a6def457d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2024-05-24  Collin Funk  <collin.fu...@gmail.com>
 
+	readutmp: Fix dependencies.
+	* modules/readutmp (Depends-on): Add gettimeofday.
+
 	boot-time, readutmp: Add a Native Windows boot time fallback.
 	* lib/boot-time-aux.h (initialize, get_windows_boot_time_fallback): New
 	functions.
diff --git a/modules/readutmp b/modules/readutmp
index 469a7c2256..0127099187 100644
--- a/modules/readutmp
+++ b/modules/readutmp
@@ -12,6 +12,7 @@ Depends-on:
 extensions
 idx
 stat-time
+gettimeofday
 stdbool
 stdint
 strnlen
-- 
2.45.1

Reply via email to