aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/notify.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notify.h b/src/notify.h
index 91140d356..0875eb3ce 100644
--- a/src/notify.h
+++ b/src/notify.h
@@ -19,12 +19,13 @@
#ifndef NOTIFY_H
#define NOTIFY_H
+#include <stdbool.h>
#include <pthread.h>
struct notify {
pthread_mutex_t mutex;
pthread_cond_t cond;
- int pending;
+ bool pending;
};
#define NOTIFY_INITIALIZER { \