summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-01-06 01:35:27 +0100
committerMaarten Bosmans <mkbosmans@gmail.com>2011-02-17 11:58:22 +0100
commit2de2c735c937c6724c14656acf01ce90f122b903 (patch)
tree7a85d24914d3916dbb2c187cd4e340ae32d42452
parenta951c779c6fe0705f75c1dfbe090deb78485b4e8 (diff)
Fix dependencies and include necessary headers
-rw-r--r--src/Makefile.am8
-rw-r--r--src/pulsecore/core-util.c1
-rw-r--r--src/pulsecore/inet_ntop.c1
-rw-r--r--src/pulsecore/parseaddr.c1
-rw-r--r--src/pulsecore/pipe.c1
-rw-r--r--src/pulsecore/proplist-util.c2
-rw-r--r--src/pulsecore/start-child.c1
-rw-r--r--src/tests/ipacl-test.c1
8 files changed, 15 insertions, 1 deletions
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 <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 e283a670..64c28edb 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 7f6cd903..99fdcbf4 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 db8e16f8..f873ef6b 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 23864bcb..642c498c 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 dabcfa5b..fd1baebb 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 88bd6c6f..58663468 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;