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."
This commit is contained in:
Darren Tucker
2025-10-07 20:25:07 +11:00
parent 8aa1383231
commit c97b931bff

View File

@@ -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