summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index c52a690..7050f05 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -36,6 +36,7 @@
#include "dlist.h"
#include "buffer.h"
#include "log.h"
+#include "sem.h"
#include "shell.h"
#include "vector.h"
@@ -244,7 +245,7 @@ struct fastd_context {
uint64_t next_peer_id; /**< An monotonously increasing ID peers are identified with in some components */
VECTOR(fastd_peer_t*) peers; /**< The currectly active peers */
#ifdef WITH_VERIFY
- sem_t verify_limit; /**< Keeps track of the number of verifier threads */
+ fastd_sem_t verify_limit; /**< Keeps track of the number of verifier threads */
#endif
#ifdef USE_EPOLL