diff options
Diffstat (limited to 'dirent')
-rw-r--r-- | dirent/opendir-tst1.c | 1 | ||||
-rw-r--r-- | dirent/tst-fdopendir.c | 1 | ||||
-rw-r--r-- | dirent/tst-fdopendir2.c | 1 | ||||
-rw-r--r-- | dirent/tst-scandir.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/dirent/opendir-tst1.c b/dirent/opendir-tst1.c index c05ec48ffc..6171d617aa 100644 --- a/dirent/opendir-tst1.c +++ b/dirent/opendir-tst1.c @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <sys/stat.h> /* Name of the FIFO. */ char tmpname[] = "fifoXXXXXX"; diff --git a/dirent/tst-fdopendir.c b/dirent/tst-fdopendir.c index 0780c19916..89bdca9086 100644 --- a/dirent/tst-fdopendir.c +++ b/dirent/tst-fdopendir.c @@ -5,6 +5,7 @@ #include <dirent.h> #include <stdbool.h> #include <string.h> +#include <sys/stat.h> #ifndef O_NOATIME # define O_NOATIME 0 diff --git a/dirent/tst-fdopendir2.c b/dirent/tst-fdopendir2.c index 3720809dc2..7709e4b3bc 100644 --- a/dirent/tst-fdopendir2.c +++ b/dirent/tst-fdopendir2.c @@ -1,6 +1,7 @@ #include <errno.h> #include <dirent.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> diff --git a/dirent/tst-scandir.c b/dirent/tst-scandir.c index 6c1ff51f01..09d19ab4e4 100644 --- a/dirent/tst-scandir.c +++ b/dirent/tst-scandir.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <stdbool.h> #include <dirent.h> #include <errno.h> #include <stdio.h> |