Skip to content

Commit 2233071

Browse files
collinfunkdaztucker
authored andcommitted
Include fcntl.h so AT_FDCWD does not get redefined.
1 parent 6c49e5f commit 2233071

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

includes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
#ifdef HAVE_PATHS_H
5050
# include <paths.h>
5151
#endif
52+
#ifdef HAVE_FCNTL_H
53+
# include <fcntl.h> /* For AT_FDCWD */
54+
#endif
5255

5356
/*
5457
*-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively

0 commit comments

Comments
 (0)