diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-02-11 11:32:08 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-02-12 09:30:09 +0100 |
commit | 86a46c4b36231d7c66cf71c46a339e7b0fef9068 (patch) | |
tree | 6698a8ab3e7fa19100053ed501205bd9711f6b8f | |
parent | e2e009d7d55b75da4537b1fbecb6759c0aabb63c (diff) | |
download | libnitrokey-86a46c4b36231d7c66cf71c46a339e7b0fef9068.tar.gz libnitrokey-86a46c4b36231d7c66cf71c46a339e7b0fef9068.tar.bz2 |
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.)
-rw-r--r-- | NK_C_API.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ #ifndef LIBNITROKEY_NK_C_API_H #define LIBNITROKEY_NK_C_API_H +#include <stdbool.h> #include <stdint.h> #ifdef _MSC_VER |