* lib/boot-time.c (get_boot_time_uncached): Invoke Linux fallbacks also
on Linux systems that have neither <utmp.h> nor <utmpx.h>.
+2023-11-16 Bruno Haible <bruno@clisp.org>
+
+ boot-time: Make it work on Adélie Linux.
+ * lib/boot-time.c (get_boot_time_uncached): Invoke Linux fallbacks also
+ on Linux systems that have neither <utmp.h> nor <utmpx.h>.
+
2023-11-15 Bruno Haible <bruno@clisp.org>
obstack: Modernize, fixing several problems.
}
# endif
-# else /* old FreeBSD, OpenBSD, native Windows */
+# else /* Adélie Linux, old FreeBSD, OpenBSD, native Windows */
+
+# if defined __linux__ && !defined __ANDROID__
+ /* Workaround for Adélie Linux: */
+ get_linux_boot_time_fallback (&found_boot_time);
+ if (found_boot_time.tv_sec == 0)
+ get_linux_boot_time_final_fallback (&found_boot_time);
+# endif
# if defined __OpenBSD__
/* Workaround for OpenBSD: */