summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-16 19:16:42 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-16 19:16:42 +0000
commitb5384e09fa718c0a1c49ef2e296a8953d883fa73 (patch)
tree852b86858f5b7d32905972b1c3e984bd96c4621c /src
parentdc812dada4a8a51429d28d6d297150dfb8b61aae (diff)
include config.h in every file
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@82 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/alsa-util.c4
-rw-r--r--src/authkey.c4
-rw-r--r--src/cli-command.c4
-rw-r--r--src/cli.c4
-rw-r--r--src/client.c4
-rw-r--r--src/clitext.c4
-rw-r--r--src/cmdline.c4
-rw-r--r--src/core.c4
-rw-r--r--src/dynarray.c4
-rw-r--r--src/hashmap.c4
-rw-r--r--src/idxset.c4
-rw-r--r--src/iochannel.c4
-rw-r--r--src/ioline.c4
-rw-r--r--src/main.c4
-rw-r--r--src/mainloop-api.c4
-rw-r--r--src/mainloop-signal.c4
-rw-r--r--src/mainloop.c4
-rw-r--r--src/memblock.c4
-rw-r--r--src/memblockq.c4
-rw-r--r--src/memchunk.c4
-rw-r--r--src/modargs.c4
-rw-r--r--src/module-alsa-sink.c4
-rw-r--r--src/module-alsa-source.c4
-rw-r--r--src/module-cli.c4
-rw-r--r--src/module-oss-mmap.c4
-rw-r--r--src/module-oss.c4
-rw-r--r--src/module-pipe-sink.c4
-rw-r--r--src/module-protocol-stub.c4
-rw-r--r--src/module.c4
-rw-r--r--src/namereg.c4
-rw-r--r--src/oss-util.c4
-rw-r--r--src/pacat-simple.c4
-rw-r--r--src/pacat.c4
-rw-r--r--src/packet.c4
-rw-r--r--src/pactl.c4
-rw-r--r--src/parec-simple.c4
-rw-r--r--src/pdispatch.c4
-rw-r--r--src/polyplib-error.c4
-rw-r--r--src/polyplib-simple.c4
-rw-r--r--src/polyplib.c4
-rw-r--r--src/protocol-cli.c4
-rw-r--r--src/protocol-esound.c4
-rw-r--r--src/protocol-native.c4
-rw-r--r--src/protocol-simple.c4
-rw-r--r--src/pstream-util.c4
-rw-r--r--src/pstream.c4
-rw-r--r--src/queue.c4
-rw-r--r--src/resampler.c4
-rw-r--r--src/sample-util.c4
-rw-r--r--src/sample.c4
-rw-r--r--src/sconv-s16be.c4
-rw-r--r--src/sconv-s16le.c4
-rw-r--r--src/sconv.c4
-rw-r--r--src/sink-input.c4
-rw-r--r--src/sink.c4
-rw-r--r--src/sioman.c4
-rw-r--r--src/socket-client.c4
-rw-r--r--src/socket-server.c4
-rw-r--r--src/socket-util.c4
-rw-r--r--src/source-output.c4
-rw-r--r--src/source.c4
-rw-r--r--src/strbuf.c4
-rw-r--r--src/tagstruct.c4
-rw-r--r--src/todo1
-rw-r--r--src/tokenizer.c4
-rw-r--r--src/util.c4
66 files changed, 261 insertions, 0 deletions
diff --git a/src/alsa-util.c b/src/alsa-util.c
index edfd1613..be5b0437 100644
--- a/src/alsa-util.c
+++ b/src/alsa-util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <asoundlib.h>
#include "alsa-util.h"
diff --git a/src/authkey.c b/src/authkey.c
index 7bf45165..bdccc8f3 100644
--- a/src/authkey.c
+++ b/src/authkey.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/src/cli-command.c b/src/cli-command.c
index 469e405e..57dff7ca 100644
--- a/src/cli-command.c
+++ b/src/cli-command.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/src/cli.c b/src/cli.c
index 578852d8..656ba049 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/src/client.c b/src/client.c
index c170e49a..c6b958af 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/clitext.c b/src/clitext.c
index 6c3a0b2e..47f0f8ec 100644
--- a/src/clitext.c
+++ b/src/clitext.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include "clitext.h"
diff --git a/src/cmdline.c b/src/cmdline.c
index d53d028b..e97a7a0a 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/core.c b/src/core.c
index 987bcc18..1782559e 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
diff --git a/src/dynarray.c b/src/dynarray.c
index 7f34eef8..c7af5b27 100644
--- a/src/dynarray.c
+++ b/src/dynarray.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/hashmap.c b/src/hashmap.c
index 0c963f12..db610c37 100644
--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <string.h>
diff --git a/src/idxset.c b/src/idxset.c
index ba740250..aceb566a 100644
--- a/src/idxset.c
+++ b/src/idxset.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/iochannel.c b/src/iochannel.c
index 38430034..6d8ab322 100644
--- a/src/iochannel.c
+++ b/src/iochannel.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <fcntl.h>
diff --git a/src/ioline.c b/src/ioline.c
index 86ab5720..e6b35a2d 100644
--- a/src/ioline.c
+++ b/src/ioline.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <stdio.h>
#include <assert.h>
diff --git a/src/main.c b/src/main.c
index 9e2e0066..43e9e184 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <unistd.h>
#include <errno.h>
#include <string.h>
diff --git a/src/mainloop-api.c b/src/mainloop-api.c
index 6caa0c25..f6885206 100644
--- a/src/mainloop-api.c
+++ b/src/mainloop-api.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
#include "mainloop-api.h"
diff --git a/src/mainloop-signal.c b/src/mainloop-signal.c
index 3c55f800..e8b592ea 100644
--- a/src/mainloop-signal.c
+++ b/src/mainloop-signal.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <signal.h>
diff --git a/src/mainloop.c b/src/mainloop.c
index a485a963..8fd16ef0 100644
--- a/src/mainloop.c
+++ b/src/mainloop.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
diff --git a/src/memblock.c b/src/memblock.c
index 17038861..199b64fa 100644
--- a/src/memblock.c
+++ b/src/memblock.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/memblockq.c b/src/memblockq.c
index 6d4d712a..b4607023 100644
--- a/src/memblockq.c
+++ b/src/memblockq.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/time.h>
#include <time.h>
#include <stdio.h>
diff --git a/src/memchunk.c b/src/memchunk.c
index c0be8cce..d594d245 100644
--- a/src/memchunk.c
+++ b/src/memchunk.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/modargs.c b/src/modargs.c
index a4ef9af7..9419129b 100644
--- a/src/modargs.c
+++ b/src/modargs.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/module-alsa-sink.c b/src/module-alsa-sink.c
index a0b1e548..25533361 100644
--- a/src/module-alsa-sink.c
+++ b/src/module-alsa-sink.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <sys/poll.h>
diff --git a/src/module-alsa-source.c b/src/module-alsa-source.c
index cc45254c..572d28b0 100644
--- a/src/module-alsa-source.c
+++ b/src/module-alsa-source.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <sys/poll.h>
diff --git a/src/module-cli.c b/src/module-cli.c
index 135d3588..4c3d71c2 100644
--- a/src/module-cli.c
+++ b/src/module-cli.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
diff --git a/src/module-oss-mmap.c b/src/module-oss-mmap.c
index 2b43cbad..058bfa16 100644
--- a/src/module-oss-mmap.c
+++ b/src/module-oss-mmap.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <stdlib.h>
diff --git a/src/module-oss.c b/src/module-oss.c
index 324bab3b..7acdae93 100644
--- a/src/module-oss.c
+++ b/src/module-oss.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <stdlib.h>
diff --git a/src/module-pipe-sink.c b/src/module-pipe-sink.c
index 0a24f759..66658fd4 100644
--- a/src/module-pipe-sink.c
+++ b/src/module-pipe-sink.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <sys/stat.h>
#include <stdio.h>
diff --git a/src/module-protocol-stub.c b/src/module-protocol-stub.c
index 4fbb2258..cb980b16 100644
--- a/src/module-protocol-stub.c
+++ b/src/module-protocol-stub.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <errno.h>
#include <stdio.h>
diff --git a/src/module.c b/src/module.c
index b6a706c3..fe27d617 100644
--- a/src/module.c
+++ b/src/module.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/namereg.c b/src/namereg.c
index bf381ae4..2406b50c 100644
--- a/src/namereg.c
+++ b/src/namereg.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <assert.h>
diff --git a/src/oss-util.c b/src/oss-util.c
index 7be91dcb..de8fa663 100644
--- a/src/oss-util.c
+++ b/src/oss-util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <sys/soundcard.h>
#include <sys/ioctl.h>
diff --git a/src/pacat-simple.c b/src/pacat-simple.c
index be24c4fc..c0e07146 100644
--- a/src/pacat-simple.c
+++ b/src/pacat-simple.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/src/pacat.c b/src/pacat.c
index ca11b3e9..b614af73 100644
--- a/src/pacat.c
+++ b/src/pacat.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <signal.h>
#include <string.h>
#include <errno.h>
diff --git a/src/packet.c b/src/packet.c
index 304545c5..48685b1e 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
diff --git a/src/pactl.c b/src/pactl.c
index 2f195907..5208321f 100644
--- a/src/pactl.c
+++ b/src/pactl.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <signal.h>
#include <string.h>
#include <errno.h>
diff --git a/src/parec-simple.c b/src/parec-simple.c
index 83c4ea2f..f26a1335 100644
--- a/src/parec-simple.c
+++ b/src/parec-simple.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/src/pdispatch.c b/src/pdispatch.c
index 51f31725..126c26ef 100644
--- a/src/pdispatch.c
+++ b/src/pdispatch.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/polyplib-error.c b/src/polyplib-error.c
index 87c9d8fa..1a9fe12d 100644
--- a/src/polyplib-error.c
+++ b/src/polyplib-error.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/polyplib-simple.c b/src/polyplib-simple.c
index 6015b77d..846c2f80 100644
--- a/src/polyplib-simple.c
+++ b/src/polyplib-simple.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/src/polyplib.c b/src/polyplib.c
index f60d9a2a..dd66c5d2 100644
--- a/src/polyplib.c
+++ b/src/polyplib.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/protocol-cli.c b/src/protocol-cli.c
index 0e738321..6f052ac4 100644
--- a/src/protocol-cli.c
+++ b/src/protocol-cli.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
diff --git a/src/protocol-esound.c b/src/protocol-esound.c
index db57dfc7..c28dfa3d 100644
--- a/src/protocol-esound.c
+++ b/src/protocol-esound.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/protocol-native.c b/src/protocol-native.c
index 5165d671..223a0972 100644
--- a/src/protocol-native.c
+++ b/src/protocol-native.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <stdio.h>
#include <assert.h>
diff --git a/src/protocol-simple.c b/src/protocol-simple.c
index 6d27a284..563fee94 100644
--- a/src/protocol-simple.c
+++ b/src/protocol-simple.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/src/pstream-util.c b/src/pstream-util.c
index 4f545ab4..82bdaa55 100644
--- a/src/pstream-util.c
+++ b/src/pstream-util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include "native-common.h"
diff --git a/src/pstream.c b/src/pstream.c
index 18d33b0d..4a0848f3 100644
--- a/src/pstream.c
+++ b/src/pstream.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <netinet/in.h>
diff --git a/src/queue.c b/src/queue.c
index 9e775f44..f28b2607 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
diff --git a/src/resampler.c b/src/resampler.c
index 67823e45..42555eca 100644
--- a/src/resampler.c
+++ b/src/resampler.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
diff --git a/src/sample-util.c b/src/sample-util.c
index c7a7b679..df0b58c8 100644
--- a/src/sample-util.c
+++ b/src/sample-util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/src/sample.c b/src/sample.c
index 2cdc9e72..3c93b376 100644
--- a/src/sample.c
+++ b/src/sample.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
diff --git a/src/sconv-s16be.c b/src/sconv-s16be.c
index 728a4a05..3640b9f7 100644
--- a/src/sconv-s16be.c
+++ b/src/sconv-s16be.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sconv-s16be.h"
#define INT16_FROM INT16_FROM_BE
diff --git a/src/sconv-s16le.c b/src/sconv-s16le.c
index ca984463..b61ca2bf 100644
--- a/src/sconv-s16le.c
+++ b/src/sconv-s16le.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <inttypes.h>
diff --git a/src/sconv.c b/src/sconv.c
index 6dd165a4..b0a57b77 100644
--- a/src/sconv.c
+++ b/src/sconv.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/sink-input.c b/src/sink-input.c
index b31455dd..7b580126 100644
--- a/src/sink-input.c
+++ b/src/sink-input.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/sink.c b/src/sink.c
index 4677e9fd..8c48c033 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <string.h>
diff --git a/src/sioman.c b/src/sioman.c
index 1a4b08b0..a93e8f45 100644
--- a/src/sioman.c
+++ b/src/sioman.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include "sioman.h"
diff --git a/src/socket-client.c b/src/socket-client.c
index b1e609ab..e7ffa33d 100644
--- a/src/socket-client.c
+++ b/src/socket-client.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/socket-server.c b/src/socket-server.c
index 02b4328f..193b3c48 100644
--- a/src/socket-server.c
+++ b/src/socket-server.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
diff --git a/src/socket-util.c b/src/socket-util.c
index f4648da5..c2bb277e 100644
--- a/src/socket-util.c
+++ b/src/socket-util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdarg.h>
#include <stdlib.h>
#include <signal.h>
diff --git a/src/source-output.c b/src/source-output.c
index eefc4f99..7b93bcb3 100644
--- a/src/source-output.c
+++ b/src/source-output.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/source.c b/src/source.c
index 08ce46b7..fe7cf16e 100644
--- a/src/source.c
+++ b/src/source.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/strbuf.c b/src/strbuf.c
index 41c139bd..44fa5b40 100644
--- a/src/strbuf.c
+++ b/src/strbuf.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/types.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/tagstruct.c b/src/tagstruct.c
index e57e755c..50854c28 100644
--- a/src/tagstruct.c
+++ b/src/tagstruct.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
diff --git a/src/todo b/src/todo
index a6b2b3c8..c3414fe5 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 de82c8e1..bdd05e44 100644
--- a/src/tokenizer.c
+++ b/src/tokenizer.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/src/util.c b/src/util.c
index 773922b5..a13679a2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdarg.h>
#include <stdlib.h>
#include <signal.h>