[PATCH 07/10] Fix dependencies and include necessary headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 52e4219..61ee705 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -581,6 +581,14 @@ libpulsecommon_ at 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 513b68c..1659d3a 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 a83c177..f2ff9dd 100644
--- a/src/pulsecore/inet_ntop.c
+++ b/src/pulsecore/inet_ntop.c
@@ -30,6 +30,7 @@
 
 #include "socket.h"
 #include <pulsecore/macro.h>
+#include <pulsecore/core-util.h>
 
 #include "inet_ntop.h"
 
diff --git a/src/pulsecore/parseaddr.c b/src/pulsecore/parseaddr.c
index 7f6cd90..99fdcbf 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 db8e16f..f873ef6 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 23864bc..642c498 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 dabcfa5..fd1baeb 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 88bd6c6..5866346 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;
-- 
1.7.1




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux