summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daemon/dumpmodules.c3
-rw-r--r--src/modules/module-tunnel.c1
-rw-r--r--src/modules/rtp/module-rtp-send.c1
-rw-r--r--src/polypcore/authkey.c1
-rw-r--r--src/polypcore/core-scache.c1
-rw-r--r--src/polypcore/core-util.h1
-rw-r--r--src/polypcore/parseaddr.c1
-rw-r--r--src/polypcore/protocol-native.c2
-rw-r--r--src/polypcore/socket-server.c1
-rw-r--r--src/tests/thread-mainloop-test.c2
-rw-r--r--src/utils/pacmd.c2
11 files changed, 12 insertions, 4 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c
index b6a3bb7cf..d56bb7980 100644
--- a/src/daemon/dumpmodules.c
+++ b/src/daemon/dumpmodules.c
@@ -29,8 +29,9 @@
#include <stdio.h>
#include <ltdl.h>
+#include <polyp/util.h>
+
#include <polypcore/modinfo.h>
-#include <polypcore/core-util.h>
#include "dumpmodules.h"
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 758d1bd6e..bf1fafb3d 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/version.h>
#include <polyp/xmalloc.h>
diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index 4ca2b1e62..1372414cb 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -33,6 +33,7 @@
#include <unistd.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/xmalloc.h>
#include <polypcore/module.h>
diff --git a/src/polypcore/authkey.c b/src/polypcore/authkey.c
index 1231c7a2b..aee54fd4b 100644
--- a/src/polypcore/authkey.c
+++ b/src/polypcore/authkey.c
@@ -35,6 +35,7 @@
#include <limits.h>
#include <sys/stat.h>
+#include <polyp/util.h>
#include <polypcore/core-util.h>
#include <polypcore/log.h>
#include <polypcore/random.h>
diff --git a/src/polypcore/core-scache.c b/src/polypcore/core-scache.c
index 1ee3361f8..5cb38beef 100644
--- a/src/polypcore/core-scache.c
+++ b/src/polypcore/core-scache.c
@@ -44,6 +44,7 @@
#include <polyp/mainloop.h>
#include <polyp/channelmap.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/volume.h>
#include <polyp/xmalloc.h>
diff --git a/src/polypcore/core-util.h b/src/polypcore/core-util.h
index d3db756fe..989f8c16a 100644
--- a/src/polypcore/core-util.h
+++ b/src/polypcore/core-util.h
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <polypcore/gccmacro.h>
-#include <polyp/util.h>
struct timeval;
diff --git a/src/polypcore/parseaddr.c b/src/polypcore/parseaddr.c
index b2c7d1c7d..d0687b05e 100644
--- a/src/polypcore/parseaddr.c
+++ b/src/polypcore/parseaddr.c
@@ -29,6 +29,7 @@
#include <polyp/xmalloc.h>
+#include <polyp/util.h>
#include <polypcore/core-util.h>
#include "parseaddr.h"
diff --git a/src/polypcore/protocol-native.c b/src/polypcore/protocol-native.c
index 0a408c6d6..a300c45df 100644
--- a/src/polypcore/protocol-native.c
+++ b/src/polypcore/protocol-native.c
@@ -32,6 +32,7 @@
#include <polyp/timeval.h>
#include <polyp/version.h>
#include <polyp/utf8.h>
+#include <polyp/util.h>
#include <polyp/xmalloc.h>
#include <polypcore/native-common.h>
@@ -46,7 +47,6 @@
#include <polypcore/authkey.h>
#include <polypcore/namereg.h>
#include <polypcore/core-scache.h>
-#include <polypcore/core-util.h>
#include <polypcore/core-subscribe.h>
#include <polypcore/log.h>
#include <polypcore/autoload.h>
diff --git a/src/polypcore/socket-server.c b/src/polypcore/socket-server.c
index 96f8e0733..592b6a630 100644
--- a/src/polypcore/socket-server.c
+++ b/src/polypcore/socket-server.c
@@ -63,6 +63,7 @@
#include "winsock.h"
#include <polyp/xmalloc.h>
+#include <polyp/util.h>
#include <polypcore/socket-util.h>
#include <polypcore/core-util.h>
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c
index 701444312..aef3aff05 100644
--- a/src/tests/thread-mainloop-test.c
+++ b/src/tests/thread-mainloop-test.c
@@ -29,9 +29,9 @@
#include <stdio.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polypcore/gccmacro.h>
-#include <polypcore/core-util.h>
#include <polyp/thread-mainloop.h>
static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, void *userdata) {
diff --git a/src/utils/pacmd.c b/src/utils/pacmd.c
index fefe76349..539d205e2 100644
--- a/src/utils/pacmd.c
+++ b/src/utils/pacmd.c
@@ -32,6 +32,8 @@
#include <string.h>
#include <sys/un.h>
+#include <polyp/util.h>
+
#include <polypcore/core-util.h>
#include <polypcore/log.h>
#include <polypcore/pid.h>