[openssh-commits] [openssh] 01/02: Include fcntl.h so AT_FDCWD does not get redefined.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Mar 27 20:16:03 AEDT 2025


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

dtucker pushed a commit to branch master
in repository openssh.

commit 22330711e2459c23d9736ee16e0e2ee0fcc30b9a
Author: Collin Funk <collin.funk1 at gmail.com>
AuthorDate: Wed Mar 26 18:24:59 2025 -0700

    Include fcntl.h so AT_FDCWD does not get redefined.
---
 includes.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/includes.h b/includes.h
index 6d17ef6d..8f933568 100644
--- a/includes.h
+++ b/includes.h
@@ -49,6 +49,9 @@
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h> /* For AT_FDCWD */
+#endif
 
 /*
  *-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively

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


More information about the openssh-commits mailing list