]> git.meshlink.io Git - meshlink/blobdiff - src/have.h
Use atomic operations to check whether to write to the signal pipe.
[meshlink] / src / have.h
index f64e15d09d9e57dd4e6f8bd3f500f755f4ef7d01..c0686a54ec6fdd26be2e2d312a4d09be34fd0f27 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <stdatomic.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <inttypes.h>