diff --git a/daemon/aux.h b/daemon/aux.h index 099cffc92..80bf36c4b 100644 --- a/daemon/aux.h +++ b/daemon/aux.h @@ -515,7 +515,7 @@ int in6_addr_eq(const void *a, const void *b); #if GLIB_SIZEOF_VOID_P >= 8 typedef struct { - void *p; + volatile void *p; } atomic64; INLINE u_int64_t atomic64_get(const atomic64 *u) {