aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:25:33 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:25:33 +0200
commit81220ca2060b692dd456b38570fff75ee09cf00e (patch)
treec40600475ebefa4ce350f7af92869a4364dd681c /src
parent0bfe7802d251286db03c7d9dfd1b3cd325060863 (diff)
downloadmpd-81220ca2060b692dd456b38570fff75ee09cf00e.tar.gz
mpd-81220ca2060b692dd456b38570fff75ee09cf00e.tar.xz
mpd-81220ca2060b692dd456b38570fff75ee09cf00e.zip
directory: include sys/types.h
ino_t and dev_t are declared in sys/types.h, not sys/stat.h.
Diffstat (limited to '')
-rw-r--r--src/directory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.h b/src/directory.h
index ad24ca56f..d5e414efb 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -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 */