diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/directory.h | 6 | ||||
-rw-r--r-- | src/dirvec.h | 7 | ||||
-rw-r--r-- | src/update.c | 1 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/directory.h b/src/directory.h index 17c218bfb..c767366a7 100644 --- a/src/directory.h +++ b/src/directory.h @@ -20,6 +20,7 @@ #define DIRECTORY_H #include "song.h" +#include "dirvec.h" #include "songvec.h" #define DIRECTORY_DIR "directory: " @@ -31,11 +32,6 @@ #define DIRECTORY_MPD_VERSION "mpd_version: " #define DIRECTORY_FS_CHARSET "fs_charset: " -struct dirvec { - struct directory **base; - size_t nr; -}; - struct directory { char *path; struct dirvec children; diff --git a/src/dirvec.h b/src/dirvec.h index 31719fcc8..24c960c2e 100644 --- a/src/dirvec.h +++ b/src/dirvec.h @@ -1,7 +1,12 @@ #ifndef DIRVEC_H #define DIRVEC_H -struct dirvec; +#include "os_compat.h" + +struct dirvec { + struct directory **base; + size_t nr; +}; void dirvec_sort(struct dirvec *dv); diff --git a/src/update.c b/src/update.c index 1cf6f3537..6e9f1572c 100644 --- a/src/update.c +++ b/src/update.c @@ -25,7 +25,6 @@ #include "playlist.h" #include "utils.h" #include "main_notify.h" -#include "dirvec.h" #include "condition.h" #include "update.h" |