33 lines
991 B
Diff
33 lines
991 B
Diff
|
From 99cf89555313056d3a8fa54b21d02dc880b363e1 Mon Sep 17 00:00:00 2001
|
||
|
From: Jouni Malinen <jouni@codeaurora.org>
|
||
|
Date: Mon, 20 Apr 2020 20:29:31 +0300
|
||
|
Subject: [PATCH] Include stdbool.h to allow C99 bool to be used
|
||
|
|
||
|
We have practically started requiring some C99 features, so might as
|
||
|
well finally go ahead and bring in the C99 bool as well.
|
||
|
|
||
|
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
|
||
|
[geomatsi@gmail.com: backport from upstream]
|
||
|
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||
|
[yann.morin.1998@free.fr: keep upstream sha1 in header, drop numbering]
|
||
|
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
|
||
|
---
|
||
|
src/utils/includes.h | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/utils/includes.h b/src/utils/includes.h
|
||
|
index 75513fc8c..741fc9c14 100644
|
||
|
--- a/src/utils/includes.h
|
||
|
+++ b/src/utils/includes.h
|
||
|
@@ -18,6 +18,7 @@
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
#include <stddef.h>
|
||
|
+#include <stdbool.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdarg.h>
|
||
|
#include <string.h>
|
||
|
--
|
||
|
2.25.1
|
||
|
|