]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
lchown: Fix compilation error on macOS (regression today).
authorBruno Haible <bruno@clisp.org>
Sun, 21 Sep 2025 18:40:43 +0000 (20:40 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Sep 2025 18:41:08 +0000 (20:41 +0200)
* lib/lchown.c: Include stat-time.h.

ChangeLog
lib/lchown.c

index 0e5388483d495d16e211b220a2f25c470eae6db6..2d904fafacecdc2884d8ebed4e46965b121ee535 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-09-21  Bruno Haible  <bruno@clisp.org>
+
+       lchown: Fix compilation error on macOS (regression today).
+       * lib/lchown.c: Include stat-time.h.
+
 2025-09-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        chown: simplify CHOWN_CHANGE_TIME_BUG checking
index ef92c18c8ff93605744f33450337f7f1f145c0d7..687922abd46251e2a617367569e2878e0b871694 100644 (file)
@@ -29,6 +29,7 @@
 #include <sys/stat.h>
 
 #include "issymlink.h"
+#include "stat-time.h"
 
 #ifndef CHOWN_CHANGE_TIME_BUG
 # define CHOWN_CHANGE_TIME_BUG 0