[pulseaudio-discuss] [PATCH 2/2] fdsem: Use atomic.h

David Henningsson david.henningsson at canonical.com
Tue Apr 15 08:25:55 PDT 2014


The fdsem header uses pa_atomic_t, which is declared in atomic.h

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 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



More information about the pulseaudio-discuss mailing list