diff options
author | Will Newton <will.newton@linaro.org> | 2013-05-21 21:27:43 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-25 13:26:09 +0200 |
commit | 5ef3a7a7c7ba52bb6819715da8e5967c7997823e (patch) | |
tree | 828a4bc2807b0183018d4b481e06fe65de2cf866 /package | |
parent | 9c1917ef5becad640c32fdbc0c795d30c9f13f6c (diff) | |
download | buildroot-novena-5ef3a7a7c7ba52bb6819715da8e5967c7997823e.tar.gz buildroot-novena-5ef3a7a7c7ba52bb6819715da8e5967c7997823e.zip |
urg: Add urg-select-h.patch.
This patch fixes a build failure on AArch64 (and potentially others).
Make sure sys/select.h is included before using select(2).
Signed-off-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/urg/urg-select-h.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/urg/urg-select-h.patch b/package/urg/urg-select-h.patch new file mode 100644 index 000000000..09d153044 --- /dev/null +++ b/package/urg/urg-select-h.patch @@ -0,0 +1,11 @@ +--- urg-0.8.18/src/c/connection/serial_ctrl_lin.c 2010-11-22 01:48:01.000000000 +0000 ++++ urg-0.8.18.mod/src/c/connection/serial_ctrl_lin.c 2013-05-21 20:56:35.822025969 +0100 +@@ -17,7 +17,7 @@ + #include <fcntl.h> + #include <errno.h> + #include <string.h> +- ++#include <sys/select.h> + //#include <ctype.h> + + enum { |