diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-registry/slave.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds-registry/slave.h b/src/mds-registry/slave.h index 9f08f07..cb30b94 100644 --- a/src/mds-registry/slave.h +++ b/src/mds-registry/slave.h @@ -25,6 +25,7 @@ #include <stdint.h> #include <pthread.h> #include <time.h> +#include <signal.h> @@ -63,7 +64,7 @@ typedef struct slave /** * Whether the client has been closed */ - volatile int closed; + volatile sig_atomic_t closed; /** * The slave thread |