aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 14:15:34 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 14:15:34 +0100
commit9d1a34e30b70e90a3b22cad136f1904a1d182021 (patch)
tree1bda100674191856411fc0a07ead60778e846455 /src/archive_api.c
parent69d9716f8b7442c843c3f800d003d7311951b950 (diff)
downloadmpd-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/archive_api.c')
-rw-r--r--src/archive_api.c5
1 files changed, 3 insertions, 2 deletions
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