board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / urg / 0001-select-h.patch
blob1d09bb57b2b53f2063da574fed4a414bd970b44b
1 From 08c7ebec7c58fbc9c1cc0542863b34119c75c91f Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Thu, 15 Sep 2016 06:19:57 +0200
4 Subject: [PATCH] Serial driver: add missing header to C and C++ serial driver
6 Fixes:
7 http://autobuild.buildroot.net/results/cd7/cd76699188d2ee99b5f2d32b6a797de0d832a192/
9 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
10 ---
11 src/c/connection/serial_ctrl_lin.c | 1 +
12 src/cpp/connection/SerialDevice_lin.cpp | 1 +
13 2 files changed, 2 insertions(+)
15 Index: b/src/c/connection/serial_ctrl_lin.c
16 ===================================================================
17 --- a/src/c/connection/serial_ctrl_lin.c
18 +++ b/src/c/connection/serial_ctrl_lin.c
19 @@ -18,6 +18,7 @@
20 #include <errno.h>
21 #include <string.h>
23 +#include <sys/select.h>
24 //#include <ctype.h>
26 enum {
27 Index: b/src/cpp/connection/SerialDevice_lin.cpp
28 ===================================================================
29 --- a/src/cpp/connection/SerialDevice_lin.cpp
30 +++ b/src/cpp/connection/SerialDevice_lin.cpp
31 @@ -13,7 +13,7 @@
32 #include <cerrno>
33 #include <cstring>
34 #include <cstdio>
36 +#include <sys/select.h>
38 class RawSerialDevice