From 2de2c735c937c6724c14656acf01ce90f122b903 Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Thu, 6 Jan 2011 01:35:27 +0100 Subject: Fix dependencies and include necessary headers --- src/Makefile.am | 8 ++++++++ src/pulsecore/core-util.c | 1 + src/pulsecore/inet_ntop.c | 1 + src/pulsecore/parseaddr.c | 1 + src/pulsecore/pipe.c | 1 + src/pulsecore/proplist-util.c | 2 +- src/pulsecore/start-child.c | 1 + src/tests/ipacl-test.c | 1 + 8 files changed, 15 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index baba9c5e..89377a67 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -562,6 +562,14 @@ libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \ pulse/client-conf.c pulse/client-conf.h \ pulse/i18n.c pulse/i18n.h \ pulse/fork-detect.c pulse/fork-detect.h \ + pulse/xmalloc.c pulse/xmalloc.h \ + pulse/proplist.c pulse/proplist.h \ + pulse/utf8.c pulse/utf8.h \ + pulse/channelmap.c pulse/channelmap.h \ + pulse/sample.c pulse/sample.h \ + pulse/util.c pulse/util.h \ + pulse/timeval.c pulse/timeval.h \ + pulse/rtclock.c pulse/rtclock.h \ pulsecore/atomic.h \ pulsecore/authkey.c pulsecore/authkey.h \ pulsecore/conf-parser.c pulsecore/conf-parser.h \ diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index ba9e820d..49cd01a4 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -128,6 +128,7 @@ #include #include #include +#include #include "core-util.h" diff --git a/src/pulsecore/inet_ntop.c b/src/pulsecore/inet_ntop.c index e283a670..64c28edb 100644 --- a/src/pulsecore/inet_ntop.c +++ b/src/pulsecore/inet_ntop.c @@ -28,6 +28,7 @@ #ifndef HAVE_INET_NTOP +#include #include #include "inet_ntop.h" diff --git a/src/pulsecore/parseaddr.c b/src/pulsecore/parseaddr.c index 7f6cd903..99fdcbf4 100644 --- a/src/pulsecore/parseaddr.c +++ b/src/pulsecore/parseaddr.c @@ -35,6 +35,7 @@ #include #include +#include #include "parseaddr.h" diff --git a/src/pulsecore/pipe.c b/src/pulsecore/pipe.c index db8e16f8..f873ef6b 100644 --- a/src/pulsecore/pipe.c +++ b/src/pulsecore/pipe.c @@ -30,6 +30,7 @@ #include #include +#include #include "pipe.h" diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c index 23864bcb..642c498c 100644 --- a/src/pulsecore/proplist-util.c +++ b/src/pulsecore/proplist-util.c @@ -25,7 +25,7 @@ #include #include -#include +#include #ifdef __APPLE__ #include diff --git a/src/pulsecore/start-child.c b/src/pulsecore/start-child.c index dabcfa5b..fd1baebb 100644 --- a/src/pulsecore/start-child.c +++ b/src/pulsecore/start-child.c @@ -40,6 +40,7 @@ #include #include +#include #include "start-child.h" diff --git a/src/tests/ipacl-test.c b/src/tests/ipacl-test.c index 88bd6c6f..58663468 100644 --- a/src/tests/ipacl-test.c +++ b/src/tests/ipacl-test.c @@ -24,6 +24,7 @@ #include #include #include +#include int main(int argc, char *argv[]) { struct sockaddr_in sa; -- cgit