Fix dependencies and include necessary headers

This commit is contained in:
Maarten Bosmans 2011-01-06 01:35:27 +01:00
parent a951c779c6
commit 2de2c735c9
8 changed files with 15 additions and 1 deletions

View file

@ -562,6 +562,14 @@ libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
pulse/client-conf.c pulse/client-conf.h \ pulse/client-conf.c pulse/client-conf.h \
pulse/i18n.c pulse/i18n.h \ pulse/i18n.c pulse/i18n.h \
pulse/fork-detect.c pulse/fork-detect.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/atomic.h \
pulsecore/authkey.c pulsecore/authkey.h \ pulsecore/authkey.c pulsecore/authkey.h \
pulsecore/conf-parser.c pulsecore/conf-parser.h \ pulsecore/conf-parser.c pulsecore/conf-parser.h \

View file

@ -128,6 +128,7 @@
#include <pulsecore/usergroup.h> #include <pulsecore/usergroup.h>
#include <pulsecore/strlist.h> #include <pulsecore/strlist.h>
#include <pulsecore/cpu-x86.h> #include <pulsecore/cpu-x86.h>
#include <pulsecore/pipe.h>
#include "core-util.h" #include "core-util.h"

View file

@ -28,6 +28,7 @@
#ifndef HAVE_INET_NTOP #ifndef HAVE_INET_NTOP
#include <pulsecore/core-util.h>
#include <pulsecore/socket.h> #include <pulsecore/socket.h>
#include "inet_ntop.h" #include "inet_ntop.h"

View file

@ -35,6 +35,7 @@
#include <pulsecore/core-util.h> #include <pulsecore/core-util.h>
#include <pulsecore/macro.h> #include <pulsecore/macro.h>
#include <pulsecore/inet_pton.h>
#include "parseaddr.h" #include "parseaddr.h"

View file

@ -30,6 +30,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <pulsecore/socket.h> #include <pulsecore/socket.h>
#include <pulsecore/core-util.h>
#include "pipe.h" #include "pipe.h"

View file

@ -25,7 +25,7 @@
#include <string.h> #include <string.h>
#include <locale.h> #include <locale.h>
#include <dlfcn.h> #include <libintl.h>
#ifdef __APPLE__ #ifdef __APPLE__
#include <crt_externs.h> #include <crt_externs.h>

View file

@ -40,6 +40,7 @@
#include <pulsecore/core-util.h> #include <pulsecore/core-util.h>
#include <pulsecore/core-error.h> #include <pulsecore/core-error.h>
#include <pulsecore/pipe.h>
#include "start-child.h" #include "start-child.h"

View file

@ -24,6 +24,7 @@
#include <pulsecore/socket.h> #include <pulsecore/socket.h>
#include <pulsecore/macro.h> #include <pulsecore/macro.h>
#include <pulsecore/ipacl.h> #include <pulsecore/ipacl.h>
#include <pulsecore/inet_pton.h>
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
struct sockaddr_in sa; struct sockaddr_in sa;