]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
log: we use bool, so include stdbool.h
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 6 Aug 2021 03:40:47 +0000 (11:40 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Mon, 18 Oct 2021 06:36:45 +0000 (14:36 +0800)
The log headers use the bool type, so add an include for stdbool.h,
rather than requiring the includer to do so.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/nvme/log.h

index 4ed695c430283d78583b91056ffc6be042963172..c13def854e5299795fd108b2b4c3bd4dc8bc9ddc 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef _LOG_H
 #define _LOG_H
 
+#include <stdbool.h>
 #include <syslog.h>
 
 #ifndef MAX_LOGLEVEL