diff options
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r-- | src/fuse/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h index 15075d5..c64806c 100644 --- a/src/fuse/connection.h +++ b/src/fuse/connection.h @@ -3,6 +3,7 @@ #include "../shared/fdsignal.h" #include "../shared/timing.h" +#include <stdatomic.h> #include <stddef.h> #include <stdbool.h> #include <stdint.h> @@ -10,7 +11,7 @@ #include <fuse_lowlevel.h> -extern bool keepRunning; +extern atomic_bool keepRunning; struct _dnbd3_async; typedef struct _dnbd3_async { |