diff --git a/src/userfile.c b/src/userfile.c index 12351cee..5fb62394 100644 --- a/src/userfile.c +++ b/src/userfile.c @@ -22,10 +22,6 @@ #include #include -#ifdef HAVE_WORDEXP_H -#include -#include - /** * \brief Get the full file name * \param file The file name string to parse @@ -35,6 +31,10 @@ * Parses the given file name with POSIX-Shell-like expansion and * stores the first matchine one. The returned string is strdup'ed. */ + +#ifdef HAVE_WORDEXP_H +#include +#include int snd_user_file(const char *file, char **result) { wordexp_t we;