summaryrefslogtreecommitdiff
path: root/src/pulsecore
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-04-15 17:23:06 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2014-04-22 16:31:57 +0200
commit48420b660af5e8df9490b5265efaa55b459b7745 (patch)
treecc5dd87ad29468517e1ae83cef611cd859d4ad27 /src/pulsecore
parent6c42cfe32497c3b8a83929971ba109ec486dbc11 (diff)
fdsem: Use atomic.h
The fdsem header uses pa_atomic_t, which is declared in atomic.h Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/fdsem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/fdsem.h b/src/pulsecore/fdsem.h
index 3f1d9a1a4..1b1a5a580 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 {