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.
This commit is contained in:
Max Kellermann 2009-11-11 14:15:34 +01:00
parent 69d9716f8b
commit 9d1a34e30b
7 changed files with 8 additions and 4 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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>

View File

@ -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"

View File

@ -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"