aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/recorder/replay_save.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/recorder/replay_save.h')
-rw-r--r--include/recorder/replay_save.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/recorder/replay_save.h b/include/recorder/replay_save.h
index d92a8c0..7f48851 100644
--- a/include/recorder/replay_save.h
+++ b/include/recorder/replay_save.h
@@ -5,7 +5,7 @@
#include <stddef.h>
#include <limits.h>
#include <pthread.h>
-#include <signal.h>
+#include <stdatomic.h>
#include "muxer.h"
#include "audio_capture.h"
#include "capture_setup.h"
@@ -25,7 +25,7 @@ typedef struct {
typedef struct {
pthread_t thread;
bool thread_created;
- volatile sig_atomic_t finished;
+ atomic_int finished;
bool success;
char output_filepath[PATH_MAX];