uart: remove un-needed includes from uart.h
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 18 May 2015 20:13:06 +0000 (21:13 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Thu, 28 May 2015 22:31:11 +0000 (23:31 +0100)
No need for many included

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
api/mraa/uart.h
src/uart/uart.c

index b1d5be8..a1df471 100644 (file)
@@ -42,16 +42,6 @@ extern "C" {
 #endif
 
 #include <stdio.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <termios.h>
-#include <sys/time.h>
-#include <sys/select.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 
 #include "common.h"
 
index 63bfe08..faca092 100644 (file)
@@ -28,6 +28,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <string.h>
+#include <termios.h>
 
 #include "uart.h"
 #include "mraa_internal.h"