瀏覽代碼

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>
Will Newton 12 年之前
父節點
當前提交
5ef3a7a7c7
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      package/urg/urg-select-h.patch

+ 11 - 0
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 {