From b4271792b919e1d178ccea87807a3069cbc86d28 Mon Sep 17 00:00:00 2001 From: Our Air Quality Date: Fri, 8 Jun 2018 11:06:35 +1000 Subject: [PATCH] i2c: include stdio.h for debugging. --- extras/i2c/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/i2c/i2c.c b/extras/i2c/i2c.c index 204bc98..527b3ac 100644 --- a/extras/i2c/i2c.c +++ b/extras/i2c/i2c.c @@ -32,6 +32,7 @@ //#define I2C_DEBUG true #ifdef I2C_DEBUG +#include #define debug(fmt, ...) printf("%s: " fmt "\n", "I2C", ## __VA_ARGS__) #else #define debug(fmt, ...)