[openssh-commits] [openssh] 04/04: Add fcntl.h to includes.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 7 20:33:16 AEDT 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch V_10_1
in repository openssh.

commit 9f0dd9505db695aab1148a977e2668666ad4d177
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue Oct 7 20:25:07 2025 +1100

    Add fcntl.h to includes.
    
    From FreeBSD via bz#3874: "This was previously included due to nested
    includes in Heimdal's headers.  Without this, the build fails with an
    error due to redefining AT_FDCWD."
---
 includes.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/includes.h b/includes.h
index 8f933568d..96cddbc26 100644
--- a/includes.h
+++ b/includes.h
@@ -34,6 +34,9 @@
 #ifdef HAVE_ENDIAN_H
 # include <endian.h>
 #endif
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
 #ifdef HAVE_TTYENT_H
 # include <ttyent.h>
 #endif

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list