From: Collin Funk Date: Thu, 27 Mar 2025 01:24:59 +0000 (-0700) Subject: Include fcntl.h so AT_FDCWD does not get redefined. X-Git-Tag: V_10_0_P1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22330711e2459c23d9736ee16e0e2ee0fcc30b9a;p=thirdparty%2Fopenssh-portable.git Include fcntl.h so AT_FDCWD does not get redefined. --- diff --git a/includes.h b/includes.h index 6d17ef6da..8f933568d 100644 --- a/includes.h +++ b/includes.h @@ -49,6 +49,9 @@ #ifdef HAVE_PATHS_H # include #endif +#ifdef HAVE_FCNTL_H +# include /* For AT_FDCWD */ +#endif /* *-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively