include config.h in all sources

After we've been hit by Large File Support problems several times in
the past week (which only occur on 32 bit platforms, which I don't
have), this is yet another attempt to fix the issue.
This commit is contained in:
Max Kellermann 2009-11-12 09:12:38 +01:00
parent 8068fd5228
commit 5b82ffc291
212 changed files with 329 additions and 65 deletions

View File

@ -29,6 +29,7 @@ src_mpd_LDADD = $(MPD_LIBS) \
$(GLIB_LIBS)
mpd_headers = \
src/check.h \
src/notify.h \
src/ack.h \
src/audio.h \

View File

@ -101,6 +101,9 @@ dnl libc features
dnl
AC_SYS_LARGEFILE
if test x$enable_largefile != xno; then
AC_DEFINE([ENABLE_LARGEFILE], 1, [Define if large file support is enabled])
fi
AC_CHECK_FUNCS(daemon fork syslog)
if test $ac_cv_func_syslog = no; then

47
scripts/check_config_h.rb Executable file
View File

@ -0,0 +1,47 @@
#!/usr/bin/env ruby
#
# This script verifies that every source includes config.h first.
# This is very important for consistent Large File Support.
#
def check_file(file)
first = true
file.each_line do |line|
if line =~ /^\#include\s+(\S+)/ then
if $1 == '"config.h"'
unless first
puts "#{file.path}: config.h included too late"
end
else
if first
puts "#{file.path}: config.h missing"
end
end
first = false
end
end
end
def check_path(path)
File.open(path) do |file|
check_file(file)
end
end
if ARGV.empty?
Dir["src/*.c"].each do |path|
check_path(path)
end
Dir["src/*/*.c"].each do |path|
check_path(path)
end
Dir["test/*.c"].each do |path|
check_path(path)
end
else
ARGV.each do |path|
check_path(path)
end
end

View File

@ -21,9 +21,9 @@
* single bz2 archive handling (requires libbz2)
*/
#include "config.h"
#include "archive_api.h"
#include "input_plugin.h"
#include "config.h"
#include <stdint.h>
#include <stddef.h>

View File

@ -21,6 +21,7 @@
* iso archive handling (requires cdio, and iso9660)
*/
#include "config.h"
#include "archive_api.h"
#include "input_plugin.h"

View File

@ -21,6 +21,7 @@
* zip archive handling (requires zziplib)
*/
#include "config.h"
#include "archive_api.h"
#include "archive_api.h"
#include "input_plugin.h"

View File

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "archive_list.h"
#include "archive_api.h"
#include "utils.h"
#include "config.h"
#include <string.h>
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "audio.h"
#include "audio_format.h"
#include "audio_parser.h"

View File

@ -22,6 +22,7 @@
*
*/
#include "config.h"
#include "audio_parser.h"
#include "audio_format.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "buffer.h"
#include "chunk.h"
#include "poison.h"

47
src/check.h Normal file
View File

@ -0,0 +1,47 @@
/*
* Copyright (C) 2003-2009 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_CHECK_H
#define MPD_CHECK_H
/*
* All sources must include config.h on the first line to ensure that
* Large File Support is configured properly. This header checks
* whether this has happened.
*
* Usage: include this header before you use any of the above types.
* It will stop the compiler if something went wrong.
*
* This is Linux/glibc specific, and only enabled in the debug build,
* so bugs in this headers don't affect users with production builds.
*
*/
#ifndef PACKAGE_VERSION
#error config.h missing
#endif
#if defined(__linux__) && !defined(NDEBUG) && defined(ENABLE_LARGEFILE) && \
defined(_FEATURES_H) && defined(__i386__) && \
!defined(__USE_FILE_OFFSET64)
/* on i386, check if LFS is enabled */
#error config.h was included too late
#endif
#endif

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "chunk.h"
#include "audio_format.h"
#include "tag.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
bool client_is_expired(const struct client *client)

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include "main.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
static guint expire_source_id;

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include "conf.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include "idle.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include <assert.h>

View File

@ -17,11 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include "fifo_buffer.h"
#include "socket_util.h"
#include "permission.h"
#include "config.h"
#include <assert.h>
#include <unistd.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include <string.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include "fifo_buffer.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "client_internal.h"
#include <assert.h>

View File

@ -17,13 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "cmdline.h"
#include "path.h"
#include "log.h"
#include "conf.h"
#include "decoder_list.h"
#include "decoder_plugin.h"
#include "config.h"
#include "output_list.h"
#include "ls.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "command.h"
#include "player_control.h"
#include "playlist.h"
@ -47,7 +48,6 @@
#include "path.h"
#include "replay_gain.h"
#include "idle.h"
#include "config.h"
#ifdef ENABLE_SQLITE
#include "sticker.h"

View File

@ -21,6 +21,7 @@
* Imported from AudioCompress by J. Shagam <fluffy@beesbuzz.biz>
*/
#include "config.h"
#include "compress.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "conf.h"
#include "utils.h"
#include "tokenizer.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "crossfade.h"
#include "pcm_mix.h"
#include "chunk.h"

View File

@ -1,3 +1,4 @@
#include "config.h"
#include "cue_tag.h"
static struct tag*

View File

@ -1,12 +1,13 @@
#ifndef MPD_CUE_TAG_H
#define MPD_CUE_TAG_H
#include "config.h"
#include "check.h"
#ifdef HAVE_CUE /* libcue */
#include "tag.h"
#include <libcue/libcue.h>
#include "../tag.h"
struct tag*
cue_tag_file( FILE*,

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "database.h"
#include "directory.h"
#include "directory_save.h"
@ -26,7 +27,6 @@
#include "text_file.h"
#include "tag.h"
#include "tag_internal.h"
#include "config.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "dbUtils.h"
#include "locate.h"
#include "directory.h"

1
src/decoder/.#flac_plugin.c Symbolic link
View File

@ -0,0 +1 @@
max@woodpecker.roonstrasse.net.11431:1257744648

View File

@ -21,6 +21,7 @@
* Common data structures and functions used by FLAC and OggFLAC
*/
#include "config.h"
#include "_flac_common.h"
#include "flac_metadata.h"
#include "flac_pcm.h"

View File

@ -21,8 +21,8 @@
* Common functions used for Ogg data streams (Ogg-Vorbis and OggFLAC)
*/
#include "config.h"
#include "_ogg_common.h"
#include "../utils.h"
ogg_stream_type ogg_stream_type_detect(struct input_stream *inStream)
{

View File

@ -24,7 +24,7 @@
#ifndef MPD_OGG_COMMON_H
#define MPD_OGG_COMMON_H
#include "../decoder_api.h"
#include "decoder_api.h"
typedef enum _ogg_stream_type { VORBIS, FLAC } ogg_stream_type;

View File

@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <audiofile.h>
#include <af_vfs.h>

View File

@ -17,9 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "decoder_buffer.h"
#include "config.h"
#include "decoder_api.h"
#include "decoder_buffer.h"
#define AAC_MAX_CHANNELS 6

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "flac_metadata.h"
#include "replay_gain.h"
#include "tag.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "flac_pcm.h"
static void flac_convert_stereo16(int16_t *dest,

View File

@ -26,9 +26,10 @@
*
*/
#include "../decoder_api.h"
#include "../timer.h"
#include "../conf.h"
#include "config.h"
#include "decoder_api.h"
#include "timer.h"
#include "conf.h"
#include <glib.h>

View File

@ -17,9 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "../conf.h"
#include "config.h"
#include "decoder_api.h"
#include "conf.h"
#include "tag_id3.h"
#include <assert.h>

View File

@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <glib.h>
#include <mikmod.h>

View File

@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <glib.h>
#include <modplug.h>

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <glib.h>

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#ifdef MPC_IS_OLD_API
#include <mpcdec/mpcdec.h>

View File

@ -17,6 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
extern "C" {
#include "../decoder_api.h"
}

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_api.h"
#include <sndfile.h>

View File

@ -17,11 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* TODO 'ogg' should probably be replaced with 'oggvorbis' in all instances */
#include "config.h" /* must be first for large file support */
#include "_ogg_common.h"
#include "config.h"
#include "_ogg_common.h"
#include "uri.h"
#ifndef HAVE_TREMOR

View File

@ -17,9 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "../path.h"
#include "../utils.h"
#include "config.h"
#include "decoder_api.h"
#include "path.h"
#include "utils.h"
#include <wavpack/wavpack.h>
#include <glib.h>

View File

@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "../decoder_api.h"
#include "config.h"
#include "decoder_api.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_api.h"
#include "decoder_internal.h"
#include "decoder_control.h"

View File

@ -27,6 +27,7 @@
#ifndef MPD_DECODER_API_H
#define MPD_DECODER_API_H
#include "check.h"
#include "decoder_command.h"
#include "decoder_plugin.h"
#include "input_stream.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_buffer.h"
#include "decoder_api.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_control.h"
#include "player_control.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_internal.h"
#include "decoder_control.h"
#include "player_control.h"

View File

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_list.h"
#include "decoder_plugin.h"
#include "utils.h"
#include "config.h"
#include "conf.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_plugin.h"
#include "utils.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_print.h"
#include "decoder_list.h"
#include "decoder_plugin.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "decoder_thread.h"
#include "decoder_control.h"
#include "decoder_internal.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "directory.h"
#include "song.h"
#include "path.h"

View File

@ -20,7 +20,7 @@
#ifndef MPD_DIRECTORY_H
#define MPD_DIRECTORY_H
#include "config.h" /* must be first for large file support */
#include "check.h"
#include "dirvec.h"
#include "songvec.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "directory_print.h"
#include "directory.h"
#include "client.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "directory_save.h"
#include "directory.h"
#include "song.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "dirvec.h"
#include "directory.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_api.h"
#include "encoder_plugin.h"
#include "audio_format.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_api.h"
#include "encoder_plugin.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_api.h"
#include "encoder_plugin.h"
#include "audio_format.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_api.h"
#include "encoder_plugin.h"
#include "tag.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_api.h"
#include "encoder_plugin.h"

View File

@ -17,9 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "encoder_list.h"
#include "encoder_plugin.h"
#include "config.h"
#include <string.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "event_pipe.h"
#include "fd_util.h"

View File

@ -22,6 +22,7 @@
*
*/
#include "config.h"
#include "exclude.h"
#include "path.h"

View File

@ -28,6 +28,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "fifo_buffer.h"
#include <glib.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "filter/chain_filter_plugin.h"
#include "filter_plugin.h"
#include "filter_internal.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "filter/convert_filter_plugin.h"
#include "filter_plugin.h"
#include "filter_internal.h"

View File

@ -24,6 +24,7 @@
* plugins.
*/
#include "config.h"
#include "filter_plugin.h"
#include "filter_internal.h"
#include "filter_registry.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "filter/volume_filter_plugin.h"
#include "filter_plugin.h"
#include "filter_internal.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "filter_plugin.h"
#include "filter_internal.h"
#include "filter_registry.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "filter_registry.h"
#include "filter_plugin.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "icy_metadata.h"
#include "tag.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "icy_server.h"
#include <glib.h>

View File

@ -22,6 +22,7 @@
*
*/
#include "config.h"
#include "idle.h"
#include "event_pipe.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "inotify_queue.h"
#include "update.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "inotify_source.h"
#include "fifo_buffer.h"
#include "fd_util.h"

View File

@ -20,7 +20,7 @@
#ifndef MPD_INOTIFY_UPDATE_H
#define MPD_INOTIFY_UPDATE_H
#include "config.h"
#include "check.h"
#ifdef HAVE_INOTIFY_INIT

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "input/archive_input_plugin.h"
#include "archive_api.h"
#include "archive_list.h"

View File

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "input/curl_input_plugin.h"
#include "input_plugin.h"
#include "conf.h"
#include "config.h"
#include "tag.h"
#include "icy_metadata.h"
#include "glib_compat.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "input/mms_input_plugin.h"
#include "input_plugin.h"

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "input_plugin.h"
#include "config.h"
#include "input_plugin.h"
#include "conf.h"
#include "input/file_input_plugin.h"

View File

@ -20,6 +20,8 @@
#ifndef MPD_INPUT_STREAM_H
#define MPD_INPUT_STREAM_H
#include "check.h"
#include <glib.h>
#include <stddef.h>

View File

@ -17,13 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "listen.h"
#include "socket_util.h"
#include "client.h"
#include "conf.h"
#include "fd_util.h"
#include "glib_compat.h"
#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "locate.h"
#include "path.h"
#include "tag.h"

View File

@ -17,11 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "log.h"
#include "conf.h"
#include "utils.h"
#include "fd_util.h"
#include "config.h"
#include <assert.h>
#include <sys/types.h>

View File

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "ls.h"
#include "uri.h"
#include "client.h"
#include "config.h"
#include <assert.h>
#include <string.h>

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "main.h"
#include "daemon.h"
#include "client.h"
@ -48,7 +49,6 @@
#include "state_file.h"
#include "tag.h"
#include "dbUtils.h"
#include "config.h"
#include "normalize.h"
#include "zeroconf.h"
#include "event_pipe.h"

View File

@ -21,6 +21,7 @@
* Maps directory and song objects to file system paths.
*/
#include "config.h"
#include "mapper.h"
#include "directory.h"
#include "song.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mixer_api.h"
#include "output_api.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mixer_api.h"
#include "output_api.h"
#include "fd_util.h"

View File

@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "pulse_mixer_plugin.h"
#include "mixer_api.h"
#include "output/pulse_output_plugin.h"

Some files were not shown because too many files have changed in this diff Show More