diff options
author | Max Kellermann <max@duempel.org> | 2009-11-11 14:15:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-11 14:15:34 +0100 |
commit | 9d1a34e30b70e90a3b22cad136f1904a1d182021 (patch) | |
tree | 1bda100674191856411fc0a07ead60778e846455 /src | |
parent | 69d9716f8b7442c843c3f800d003d7311951b950 (diff) | |
download | mpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.tar.gz mpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.tar.xz mpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.zip |
added missing config.h includes for extended LFS support
All sources which might work with large files must include config.h,
to get Large File Support on 32 bit platforms.
Diffstat (limited to 'src')
-rw-r--r-- | src/aiff.c | 1 | ||||
-rw-r--r-- | src/archive_api.c | 5 | ||||
-rw-r--r-- | src/fd_util.c | 2 | ||||
-rw-r--r-- | src/inotify_update.c | 1 | ||||
-rw-r--r-- | src/riff.c | 1 | ||||
-rw-r--r-- | src/song_update.c | 1 | ||||
-rw-r--r-- | src/update.c | 1 |
7 files changed, 8 insertions, 4 deletions
diff --git a/src/aiff.c b/src/aiff.c index d4bec628b..7fbb7eb92 100644 --- a/src/aiff.c +++ b/src/aiff.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" /* must be first for large file support */ #include "aiff.h" #include <glib.h> diff --git a/src/archive_api.c b/src/archive_api.c index 153afa361..574960558 100644 --- a/src/archive_api.c +++ b/src/archive_api.c @@ -17,6 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" /* must be first for large file support */ +#include "archive_api.h" + #include <stdio.h> #include <string.h> @@ -26,8 +29,6 @@ #include <errno.h> #include <glib.h> -#include "archive_api.h" - /** * * archive_lookup is used to determine if part of pathname refers to an regular diff --git a/src/fd_util.c b/src/fd_util.c index f78b8ed8b..f2ec4fcb3 100644 --- a/src/fd_util.c +++ b/src/fd_util.c @@ -26,8 +26,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" /* must be first for large file support */ #include "fd_util.h" -#include "config.h" #if !defined(_GNU_SOURCE) && (defined(HAVE_PIPE2) || defined(HAVE_ACCEPT4)) #define _GNU_SOURCE diff --git a/src/inotify_update.c b/src/inotify_update.c index 996afb0aa..57c815250 100644 --- a/src/inotify_update.c +++ b/src/inotify_update.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" /* must be first for large file support */ #include "inotify_update.h" #include "inotify_source.h" #include "inotify_queue.h" diff --git a/src/riff.c b/src/riff.c index a8ea9dd42..787a63cc5 100644 --- a/src/riff.c +++ b/src/riff.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" /* must be first for large file support */ #include "riff.h" #include <glib.h> diff --git a/src/song_update.c b/src/song_update.c index 2239f9aa6..ab366b0c7 100644 --- a/src/song_update.c +++ b/src/song_update.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" /* must be first for large file support */ #include "song.h" #include "uri.h" #include "directory.h" diff --git a/src/update.c b/src/update.c index 2bab38d9d..bbf80d4de 100644 --- a/src/update.c +++ b/src/update.c @@ -21,7 +21,6 @@ #include "update.h" #include "database.h" #include "mapper.h" -#include "archive_list.h" #include "playlist.h" #include "event_pipe.h" #include "update.h" |