summaryrefslogtreecommitdiffstats
path: root/options/m_config_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'options/m_config_core.c')
-rw-r--r--options/m_config_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/m_config_core.c b/options/m_config_core.c
index 74a4aa00f7..3357d31ee6 100644
--- a/options/m_config_core.c
+++ b/options/m_config_core.c
@@ -31,13 +31,13 @@
#include "common/msg.h"
#include "common/msg_control.h"
#include "misc/dispatch.h"
-#include "osdep/atomic.h"
+#include <stdatomic.h>
// For use with m_config_cache.
struct m_config_shadow {
pthread_mutex_t lock;
// Incremented on every option change.
- mp_atomic_uint64 ts;
+ _Atomic uint64_t ts;
// -- immutable after init
// List of m_sub_options instances.
// Index 0 is the top-level and is always present.