From: Bartosz Golaszewski <bartekgola@gmail.com>
Date: Fri, 6 Jan 2017 14:24:10 +0000 (+0100)
Subject: global: include gpiod.h locally from tools and library code
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e1ce28e22a20e2b90156b14dbfaeb17f33f2be43;p=qemu-gpiodev%2Flibgpiod.git

global: include gpiod.h locally from tools and library code

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
---

diff --git a/TODO b/TODO
index 76064a0..3511b84 100644
--- a/TODO
+++ b/TODO
@@ -2,4 +2,3 @@
 - create a high level routine for setting the GPIO line value
 - create a high level routine for listening on events on a GPIO line
 - rethink the GPIO event API
-- include gpiod.h from tools locally
diff --git a/core.c b/core.c
index 2b73da1..4199440 100644
--- a/core.c
+++ b/core.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdlib.h>
 #include <stdio.h>
diff --git a/gpiodetect.c b/gpiodetect.c
index c5a7d6d..8d58219 100644
--- a/gpiodetect.c
+++ b/gpiodetect.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 #include "tools-common.h"
 
 #include <stdio.h>
diff --git a/gpiofind.c b/gpiofind.c
index 7c7c6f1..fe3eb64 100644
--- a/gpiofind.c
+++ b/gpiofind.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
diff --git a/gpioget.c b/gpioget.c
index df88877..f8fa21f 100644
--- a/gpioget.c
+++ b/gpioget.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
diff --git a/gpioinfo.c b/gpioinfo.c
index 79a3b6a..37fa48d 100644
--- a/gpioinfo.c
+++ b/gpioinfo.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
diff --git a/gpiomon.c b/gpiomon.c
index 35222ed..d9dbcfa 100644
--- a/gpiomon.c
+++ b/gpiomon.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
diff --git a/gpioset.c b/gpioset.c
index 14b4532..1eccd7a 100644
--- a/gpioset.c
+++ b/gpioset.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
diff --git a/tools-common.c b/tools-common.c
index cd2dd0a..0ad160c 100644
--- a/tools-common.c
+++ b/tools-common.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 #include "tools-common.h"
 
 #include <stdlib.h>