]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Include fcntl.h so AT_FDCWD does not get redefined.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 27 Mar 2025 01:24:59 +0000 (18:24 -0700)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 27 Mar 2025 09:04:54 +0000 (20:04 +1100)
includes.h

index 6d17ef6da9338cfd0de8c044f2a1483991c166e4..8f933568d3370d031d62a875341ae27f6ca014be 100644 (file)
@@ -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