From 86a46c4b36231d7c66cf71c46a339e7b0fef9068 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 11 Feb 2018 11:32:08 +0100 Subject: Include stdbool.h in NK_C_API.h NK_C_API.h uses the type bool although it is not defined in standard C. Since C99, the header stdbool.h provides this type, so this patch includes it in NK_C_API.h to make it valid C code. (Note that the API already required C99 for the "//"-style comments.) --- NK_C_API.h | 1 + 1 file changed, 1 insertion(+) (limited to 'NK_C_API.h') diff --git a/NK_C_API.h b/NK_C_API.h index 01290d8..a4fb088 100644 --- a/NK_C_API.h +++ b/NK_C_API.h @@ -22,6 +22,7 @@ #ifndef LIBNITROKEY_NK_C_API_H #define LIBNITROKEY_NK_C_API_H +#include #include #ifdef _MSC_VER -- cgit v1.2.1