directory: include sys/types.h

ino_t and dev_t are declared in sys/types.h, not sys/stat.h.
This commit is contained in:
Max Kellermann 2008-10-08 11:25:33 +02:00
parent 0bfe7802d2
commit 81220ca206

View File

@ -24,7 +24,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#define DIRECTORY_DIR "directory: "
#define DIRECTORY_MTIME "mtime: " /* DEPRECATED, noop-read-only */