(Makefile): Don't depend on $(BUILT_SOURCES).
[gnulib.git] / lib / dirfd.h
blob01fa28ef5eb245241d8b32d45b2591bce4320e81
1 #if HAVE_CONFIG_H
2 # include <config.h>
3 #endif
5 #include <sys/types.h>
7 #if HAVE_DIRENT_H
8 # include <dirent.h>
9 #else /* not HAVE_DIRENT_H */
10 # define dirent direct
11 # if HAVE_SYS_NDIR_H
12 # include <sys/ndir.h>
13 # endif /* HAVE_SYS_NDIR_H */
14 # if HAVE_SYS_DIR_H
15 # include <sys/dir.h>
16 # endif /* HAVE_SYS_DIR_H */
17 # if HAVE_NDIR_H
18 # include <ndir.h>
19 # endif /* HAVE_NDIR_H */
20 #endif /* HAVE_DIRENT_H */
22 #ifndef HAVE_DECL_DIRFD
23 "this configure-time declaration test was not run"
24 #endif
25 #if !HAVE_DECL_DIRFD
26 int dirfd (DIR const *);
27 #endif