From 0fe7bd335c862d6d7e4cd9b90db70ea14268beb6 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Thu, 22 May 2014 14:54:19 +0100 Subject: [PATCH] src: add unistd.h to pwm and spi modules to remove compiler warnings Signed-off-by: Brendan Le Foll --- src/pwm/pwm.c | 1 + src/spi/spi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pwm/pwm.c b/src/pwm/pwm.c index 61d5739..6a60130 100644 --- a/src/pwm/pwm.c +++ b/src/pwm/pwm.c @@ -24,6 +24,7 @@ #include #include +#include #include "pwm.h" #include "maa_internal.h" diff --git a/src/spi/spi.c b/src/spi/spi.c index 494d67e..44ea4e7 100644 --- a/src/spi/spi.c +++ b/src/spi/spi.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "spi.h" #include "maa_internal.h" -- 2.7.4