aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/types.h b/types.h
index 1fee2a6..f0e9ff6 100644
--- a/types.h
+++ b/types.h
@@ -4,6 +4,7 @@
#ifndef TYPES__H
#define TYPES__H
+#include <stdbool.h>
#include <sys/types.h>
#include "files.h"
@@ -97,7 +98,7 @@ typedef struct match_s {
// the replaced text when printing this match:
// TODO: this is a bit hacky, there is probably a better way to go about
// this but it's less hacky that mutating the match objects more drastically
- unsigned int skip_replacement:1;
+ bool skip_replacement:1;
} match_t;
//