The fdsem header uses pa_atomic_t, which is declared in atomic.h
Signed-off-by: David Henningsson <[email protected]>
---
src/pulsecore/fdsem.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pulsecore/fdsem.h b/src/pulsecore/fdsem.h
index 3f1d9a1..1b1a5a5 100644
--- a/src/pulsecore/fdsem.h
+++ b/src/pulsecore/fdsem.h
@@ -28,6 +28,8 @@
* the best case all functions are lock-free unless sleeping is
* required. */
+#include <pulsecore/atomic.h>
+
typedef struct pa_fdsem pa_fdsem;
typedef struct pa_fdsem_data {
--
1.9.1
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss