Add stdlib.h and stdbool.h to zck.h as we use types defined in them in the
authorJonathan Dieter <jdieter@gmail.com>
Tue, 18 Sep 2018 12:53:05 +0000 (13:53 +0100)
committerJonathan Dieter <jdieter@gmail.com>
Tue, 18 Sep 2018 12:53:05 +0000 (13:53 +0100)
header

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
include/zck.h.in

index e9f1a9cc063d3521b5b81744aeb7c1cc3b1154a5..034b7e668712b60be25c35d927d77d8d6dd08be2 100644 (file)
@@ -3,6 +3,9 @@
 
 #define ZCK_VERSION "@version@"
 
+#include <stdlib.h>
+#include <stdbool.h>
+
 typedef enum zck_hash {
     ZCK_HASH_SHA1,
     ZCK_HASH_SHA256,