diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-01-06 01:35:27 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-02-17 11:58:22 +0100 |
commit | 2de2c735c937c6724c14656acf01ce90f122b903 (patch) | |
tree | 7a85d24914d3916dbb2c187cd4e340ae32d42452 | |
parent | a951c779c6fe0705f75c1dfbe090deb78485b4e8 (diff) |
Fix dependencies and include necessary headers
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/pulsecore/core-util.c | 1 | ||||
-rw-r--r-- | src/pulsecore/inet_ntop.c | 1 | ||||
-rw-r--r-- | src/pulsecore/parseaddr.c | 1 | ||||
-rw-r--r-- | src/pulsecore/pipe.c | 1 | ||||
-rw-r--r-- | src/pulsecore/proplist-util.c | 2 | ||||
-rw-r--r-- | src/pulsecore/start-child.c | 1 | ||||
-rw-r--r-- | src/tests/ipacl-test.c | 1 |
8 files changed, 15 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index baba9c5e9..89377a67a 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 ba9e820df..49cd01a4d 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -128,6 +128,7 @@ #include <pulsecore/usergroup.h> #include <pulsecore/strlist.h> #include <pulsecore/cpu-x86.h> +#include <pulsecore/pipe.h> #include "core-util.h" diff --git a/src/pulsecore/inet_ntop.c b/src/pulsecore/inet_ntop.c index e283a6707..64c28edb6 100644 --- a/src/pulsecore/inet_ntop.c +++ b/src/pulsecore/inet_ntop.c @@ -28,6 +28,7 @@ #ifndef HAVE_INET_NTOP +#include <pulsecore/core-util.h> #include <pulsecore/socket.h> #include "inet_ntop.h" diff --git a/src/pulsecore/parseaddr.c b/src/pulsecore/parseaddr.c index 7f6cd9039..99fdcbf46 100644 --- a/src/pulsecore/parseaddr.c +++ b/src/pulsecore/parseaddr.c @@ -35,6 +35,7 @@ #include <pulsecore/core-util.h> #include <pulsecore/macro.h> +#include <pulsecore/inet_pton.h> #include "parseaddr.h" diff --git a/src/pulsecore/pipe.c b/src/pulsecore/pipe.c index db8e16f88..f873ef6bb 100644 --- a/src/pulsecore/pipe.c +++ b/src/pulsecore/pipe.c @@ -30,6 +30,7 @@ #include <sys/types.h> #include <pulsecore/socket.h> +#include <pulsecore/core-util.h> #include "pipe.h" diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c index 23864bcbf..642c498cf 100644 --- a/src/pulsecore/proplist-util.c +++ b/src/pulsecore/proplist-util.c @@ -25,7 +25,7 @@ #include <string.h> #include <locale.h> -#include <dlfcn.h> +#include <libintl.h> #ifdef __APPLE__ #include <crt_externs.h> diff --git a/src/pulsecore/start-child.c b/src/pulsecore/start-child.c index dabcfa5b5..fd1baebb3 100644 --- a/src/pulsecore/start-child.c +++ b/src/pulsecore/start-child.c @@ -40,6 +40,7 @@ #include <pulsecore/core-util.h> #include <pulsecore/core-error.h> +#include <pulsecore/pipe.h> #include "start-child.h" diff --git a/src/tests/ipacl-test.c b/src/tests/ipacl-test.c index 88bd6c6f6..586634682 100644 --- a/src/tests/ipacl-test.c +++ b/src/tests/ipacl-test.c @@ -24,6 +24,7 @@ #include <pulsecore/socket.h> #include <pulsecore/macro.h> #include <pulsecore/ipacl.h> +#include <pulsecore/inet_pton.h> int main(int argc, char *argv[]) { struct sockaddr_in sa; |