From b5384e09fa718c0a1c49ef2e296a8953d883fa73 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 16 Jul 2004 19:16:42 +0000 Subject: [PATCH] include config.h in every file git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@82 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/alsa-util.c | 4 ++++ src/authkey.c | 4 ++++ src/cli-command.c | 4 ++++ src/cli.c | 4 ++++ src/client.c | 4 ++++ src/clitext.c | 4 ++++ src/cmdline.c | 4 ++++ src/core.c | 4 ++++ src/dynarray.c | 4 ++++ src/hashmap.c | 4 ++++ src/idxset.c | 4 ++++ src/iochannel.c | 4 ++++ src/ioline.c | 4 ++++ src/main.c | 4 ++++ src/mainloop-api.c | 4 ++++ src/mainloop-signal.c | 4 ++++ src/mainloop.c | 4 ++++ src/memblock.c | 4 ++++ src/memblockq.c | 4 ++++ src/memchunk.c | 4 ++++ src/modargs.c | 4 ++++ src/module-alsa-sink.c | 4 ++++ src/module-alsa-source.c | 4 ++++ src/module-cli.c | 4 ++++ src/module-oss-mmap.c | 4 ++++ src/module-oss.c | 4 ++++ src/module-pipe-sink.c | 4 ++++ src/module-protocol-stub.c | 4 ++++ src/module.c | 4 ++++ src/namereg.c | 4 ++++ src/oss-util.c | 4 ++++ src/pacat-simple.c | 4 ++++ src/pacat.c | 4 ++++ src/packet.c | 4 ++++ src/pactl.c | 4 ++++ src/parec-simple.c | 4 ++++ src/pdispatch.c | 4 ++++ src/polyplib-error.c | 4 ++++ src/polyplib-simple.c | 4 ++++ src/polyplib.c | 4 ++++ src/protocol-cli.c | 4 ++++ src/protocol-esound.c | 4 ++++ src/protocol-native.c | 4 ++++ src/protocol-simple.c | 4 ++++ src/pstream-util.c | 4 ++++ src/pstream.c | 4 ++++ src/queue.c | 4 ++++ src/resampler.c | 4 ++++ src/sample-util.c | 4 ++++ src/sample.c | 4 ++++ src/sconv-s16be.c | 4 ++++ src/sconv-s16le.c | 4 ++++ src/sconv.c | 4 ++++ src/sink-input.c | 4 ++++ src/sink.c | 4 ++++ src/sioman.c | 4 ++++ src/socket-client.c | 4 ++++ src/socket-server.c | 4 ++++ src/socket-util.c | 4 ++++ src/source-output.c | 4 ++++ src/source.c | 4 ++++ src/strbuf.c | 4 ++++ src/tagstruct.c | 4 ++++ src/todo | 1 + src/tokenizer.c | 4 ++++ src/util.c | 4 ++++ 66 files changed, 261 insertions(+) diff --git a/src/alsa-util.c b/src/alsa-util.c index edfd1613e..be5b0437e 100644 --- a/src/alsa-util.c +++ b/src/alsa-util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "alsa-util.h" diff --git a/src/authkey.c b/src/authkey.c index 7bf451658..bdccc8f3c 100644 --- a/src/authkey.c +++ b/src/authkey.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/cli-command.c b/src/cli-command.c index 469e405e7..57dff7ca6 100644 --- a/src/cli-command.c +++ b/src/cli-command.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/cli.c b/src/cli.c index 578852d88..656ba0494 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/client.c b/src/client.c index c170e49a1..c6b958afe 100644 --- a/src/client.c +++ b/src/client.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/clitext.c b/src/clitext.c index 6c3a0b2e6..47f0f8ecd 100644 --- a/src/clitext.c +++ b/src/clitext.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "clitext.h" diff --git a/src/cmdline.c b/src/cmdline.c index d53d028b0..e97a7a0a1 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/core.c b/src/core.c index 987bcc18c..1782559e4 100644 --- a/src/core.c +++ b/src/core.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/dynarray.c b/src/dynarray.c index 7f34eef82..c7af5b273 100644 --- a/src/dynarray.c +++ b/src/dynarray.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/hashmap.c b/src/hashmap.c index 0c963f126..db610c377 100644 --- a/src/hashmap.c +++ b/src/hashmap.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/idxset.c b/src/idxset.c index ba740250a..aceb566a2 100644 --- a/src/idxset.c +++ b/src/idxset.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/iochannel.c b/src/iochannel.c index 384300346..6d8ab3229 100644 --- a/src/iochannel.c +++ b/src/iochannel.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/ioline.c b/src/ioline.c index 86ab57202..e6b35a2d4 100644 --- a/src/ioline.c +++ b/src/ioline.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/main.c b/src/main.c index 9e2e00664..43e9e184d 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/mainloop-api.c b/src/mainloop-api.c index 6caa0c25e..f68852062 100644 --- a/src/mainloop-api.c +++ b/src/mainloop-api.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include "mainloop-api.h" diff --git a/src/mainloop-signal.c b/src/mainloop-signal.c index 3c55f8000..e8b592ea0 100644 --- a/src/mainloop-signal.c +++ b/src/mainloop-signal.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/mainloop.c b/src/mainloop.c index a485a9635..8fd16ef07 100644 --- a/src/mainloop.c +++ b/src/mainloop.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/memblock.c b/src/memblock.c index 17038861f..199b64fac 100644 --- a/src/memblock.c +++ b/src/memblock.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/memblockq.c b/src/memblockq.c index 6d4d712a4..b46070239 100644 --- a/src/memblockq.c +++ b/src/memblockq.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/memchunk.c b/src/memchunk.c index c0be8cce0..d594d2455 100644 --- a/src/memchunk.c +++ b/src/memchunk.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/modargs.c b/src/modargs.c index a4ef9af79..9419129b8 100644 --- a/src/modargs.c +++ b/src/modargs.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-alsa-sink.c b/src/module-alsa-sink.c index a0b1e548e..25533361f 100644 --- a/src/module-alsa-sink.c +++ b/src/module-alsa-sink.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-alsa-source.c b/src/module-alsa-source.c index cc45254cf..572d28b08 100644 --- a/src/module-alsa-source.c +++ b/src/module-alsa-source.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-cli.c b/src/module-cli.c index 135d35881..4c3d71c20 100644 --- a/src/module-cli.c +++ b/src/module-cli.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-oss-mmap.c b/src/module-oss-mmap.c index 2b43cbade..058bfa16e 100644 --- a/src/module-oss-mmap.c +++ b/src/module-oss-mmap.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-oss.c b/src/module-oss.c index 324bab3be..7acdae932 100644 --- a/src/module-oss.c +++ b/src/module-oss.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-pipe-sink.c b/src/module-pipe-sink.c index 0a24f7599..66658fd4b 100644 --- a/src/module-pipe-sink.c +++ b/src/module-pipe-sink.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module-protocol-stub.c b/src/module-protocol-stub.c index 4fbb2258f..cb980b166 100644 --- a/src/module-protocol-stub.c +++ b/src/module-protocol-stub.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/module.c b/src/module.c index b6a706c35..fe27d617f 100644 --- a/src/module.c +++ b/src/module.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/namereg.c b/src/namereg.c index bf381ae4a..2406b50cd 100644 --- a/src/namereg.c +++ b/src/namereg.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/oss-util.c b/src/oss-util.c index 7be91dcb0..de8fa6632 100644 --- a/src/oss-util.c +++ b/src/oss-util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/pacat-simple.c b/src/pacat-simple.c index be24c4fc3..c0e07146b 100644 --- a/src/pacat-simple.c +++ b/src/pacat-simple.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/pacat.c b/src/pacat.c index ca11b3e9e..b614af732 100644 --- a/src/pacat.c +++ b/src/pacat.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/packet.c b/src/packet.c index 304545c51..48685b1e4 100644 --- a/src/packet.c +++ b/src/packet.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/pactl.c b/src/pactl.c index 2f1959070..5208321f3 100644 --- a/src/pactl.c +++ b/src/pactl.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/parec-simple.c b/src/parec-simple.c index 83c4ea2f0..f26a13357 100644 --- a/src/parec-simple.c +++ b/src/parec-simple.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/pdispatch.c b/src/pdispatch.c index 51f317255..126c26ef8 100644 --- a/src/pdispatch.c +++ b/src/pdispatch.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/polyplib-error.c b/src/polyplib-error.c index 87c9d8fa3..1a9fe12da 100644 --- a/src/polyplib-error.c +++ b/src/polyplib-error.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/polyplib-simple.c b/src/polyplib-simple.c index 6015b77d3..846c2f804 100644 --- a/src/polyplib-simple.c +++ b/src/polyplib-simple.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/polyplib.c b/src/polyplib.c index f60d9a2a1..dd66c5d28 100644 --- a/src/polyplib.c +++ b/src/polyplib.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/protocol-cli.c b/src/protocol-cli.c index 0e7383210..6f052ac44 100644 --- a/src/protocol-cli.c +++ b/src/protocol-cli.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/protocol-esound.c b/src/protocol-esound.c index db57dfc79..c28dfa3dd 100644 --- a/src/protocol-esound.c +++ b/src/protocol-esound.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/protocol-native.c b/src/protocol-native.c index 5165d671d..223a0972d 100644 --- a/src/protocol-native.c +++ b/src/protocol-native.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/protocol-simple.c b/src/protocol-simple.c index 6d27a284a..563fee94a 100644 --- a/src/protocol-simple.c +++ b/src/protocol-simple.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/pstream-util.c b/src/pstream-util.c index 4f545ab42..82bdaa550 100644 --- a/src/pstream-util.c +++ b/src/pstream-util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "native-common.h" diff --git a/src/pstream.c b/src/pstream.c index 18d33b0df..4a0848f37 100644 --- a/src/pstream.c +++ b/src/pstream.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/queue.c b/src/queue.c index 9e775f440..f28b26075 100644 --- a/src/queue.c +++ b/src/queue.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/resampler.c b/src/resampler.c index 67823e450..42555eca5 100644 --- a/src/resampler.c +++ b/src/resampler.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/sample-util.c b/src/sample-util.c index c7a7b679b..df0b58c81 100644 --- a/src/sample-util.c +++ b/src/sample-util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/sample.c b/src/sample.c index 2cdc9e72a..3c93b3764 100644 --- a/src/sample.c +++ b/src/sample.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/sconv-s16be.c b/src/sconv-s16be.c index 728a4a054..3640b9f70 100644 --- a/src/sconv-s16be.c +++ b/src/sconv-s16be.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sconv-s16be.h" #define INT16_FROM INT16_FROM_BE diff --git a/src/sconv-s16le.c b/src/sconv-s16le.c index ca9844633..b61ca2bf9 100644 --- a/src/sconv-s16le.c +++ b/src/sconv-s16le.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/src/sconv.c b/src/sconv.c index 6dd165a44..b0a57b770 100644 --- a/src/sconv.c +++ b/src/sconv.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/sink-input.c b/src/sink-input.c index b31455ddf..7b5801268 100644 --- a/src/sink-input.c +++ b/src/sink-input.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/sink.c b/src/sink.c index 4677e9fd5..8c48c033d 100644 --- a/src/sink.c +++ b/src/sink.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/sioman.c b/src/sioman.c index 1a4b08b04..a93e8f458 100644 --- a/src/sioman.c +++ b/src/sioman.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "sioman.h" diff --git a/src/socket-client.c b/src/socket-client.c index b1e609abd..e7ffa33da 100644 --- a/src/socket-client.c +++ b/src/socket-client.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/socket-server.c b/src/socket-server.c index 02b4328fc..193b3c483 100644 --- a/src/socket-server.c +++ b/src/socket-server.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/socket-util.c b/src/socket-util.c index f4648da5a..c2bb277ea 100644 --- a/src/socket-util.c +++ b/src/socket-util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/source-output.c b/src/source-output.c index eefc4f997..7b93bcb35 100644 --- a/src/source-output.c +++ b/src/source-output.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/source.c b/src/source.c index 08ce46b7e..fe7cf16e2 100644 --- a/src/source.c +++ b/src/source.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/strbuf.c b/src/strbuf.c index 41c139bd4..44fa5b405 100644 --- a/src/strbuf.c +++ b/src/strbuf.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/tagstruct.c b/src/tagstruct.c index e57e755c1..50854c28c 100644 --- a/src/tagstruct.c +++ b/src/tagstruct.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/todo b/src/todo index a6b2b3c84..c3414fe5a 100644 --- a/src/todo +++ b/src/todo @@ -1,3 +1,4 @@ +- config.h - svn-id and license in every file - documentation - pkgconfig diff --git a/src/tokenizer.c b/src/tokenizer.c index de82c8e1f..bdd05e447 100644 --- a/src/tokenizer.c +++ b/src/tokenizer.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/src/util.c b/src/util.c index 773922b55..a13679a2c 100644 --- a/src/util.c +++ b/src/util.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include