blob: 37d2db62741d809a27b45126197a51dd0527f074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Ignore configure checks and include stdbool.h
unconditionally, we're in 2016.
--- gearmand-0.34/libhostile/called.c
+++ gearmand-0.34/libhostile/called.c
@@ -41,6 +41,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
__thread bool is_called_= false;
static __thread char** unique_ptr= NULL;
--- gearmand-0.34/libhostile/called.h
+++ gearmand-0.34/libhostile/called.h
@@ -36,9 +36,7 @@
#pragma once
-#ifdef HAVE_STDBOOL_H
-# include <stdbool.h>
-#endif
+#include <stdbool.h>
bool is_called(void);
void set_called();
|