pmaports/hybris/pulsecore-private-headers/0001-core-util-add-socket-h.patch
Alexey Min 83ef586986
hybris/pulsecore-private-headers: new package (!448)
Essentially needed for packaging pulseaudio-modules-droid.

This package is basically a set of headers taken from
original pulseaudio tarball and one hand-made pkg-config file.

All versions listed in this package and in pulsecore.pc should
match pulseaudio's MAJOR.MINOR version, otherwise everything
will break. All library paths listed in pulsecore.pc should
match pulseaudio paths, too. Because library itself is built
and installed by pulseaudio package (pulseaudio-dev).

For motivation behind this see:
9316d7ba94

TL;DR pulsecore is an internal pulseaudio library needed to build
pulseaudio's own modules, not meant to be used py pulseaudio clients.
It is not exported since pulseaudio-8. We fake an "export"
of this library, since we need it to build an out-of-tree module.
2019-07-09 22:48:52 +02:00

12 lines
323 B
Diff

diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h
index e28b6aa..fb0f941 100644
--- a/src/pulsecore/core-util.h
+++ b/src/pulsecore/core-util.h
@@ -26,6 +26,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
+#include <sys/socket.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>