diff options
Diffstat (limited to 'kern/syscnt_types.h')
-rw-r--r-- | kern/syscnt_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/syscnt_types.h b/kern/syscnt_types.h index 5b429b76..81fb7986 100644 --- a/kern/syscnt_types.h +++ b/kern/syscnt_types.h @@ -23,6 +23,7 @@ #include <stdint.h> +#include <kern/atomic.h> #include <kern/list_types.h> #include <kern/spinlock_types.h> @@ -31,7 +32,7 @@ * on 32-bits ones. */ struct syscnt { -#ifndef __LP64__ +#ifndef ATOMIC_HAVE_64B_OPS struct spinlock lock; #endif /* __LP64__ */ |