diff options
Diffstat (limited to 'meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch')
-rw-r--r-- | meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch b/meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch new file mode 100644 index 0000000000..5ae52f2d43 --- /dev/null +++ b/meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From f5f2c2289eb35eb804c1c35e46ca41b58e4cae01 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 6 Apr 2015 14:13:49 -0700 | ||
4 | Subject: [PATCH] test: Include <sys/select.h> for select() | ||
5 | |||
6 | As per posix we need to include this file otherwise we end up with errors like | ||
7 | |||
8 | /home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/mips32r2-oe-linux-musl/libproxy/0.4.11-r0/libproxy-0.4.11/libproxy/test/get-pac-test.cpp: In member function 'bool TestServer::loop()': | ||
9 | /home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/mips32r2-oe-linux-musl/libproxy/0.4.11-r0/libproxy-0.4.11/libproxy/test/get-pac-test.cpp:80:4: error: 'fd_set' was not declared in this scope | ||
10 | fd_set fds; | ||
11 | ^ | ||
12 | /home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/mips32r2-oe-linux-musl/libproxy/0.4.11-r0/libproxy-0.4.11/libproxy/test/get-pac-test.cpp:89:14: error: 'fds' was not declared in this scope | ||
13 | FD_ZERO (&fds); | ||
14 | <JIRA TICKET #1>, <JIRA TICKET #2>, <JIRA TICKET #n> : <one line summary of change> | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | |||
18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
19 | --- | ||
20 | libproxy/test/get-pac-test.cpp | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | diff --git a/libproxy/test/get-pac-test.cpp b/libproxy/test/get-pac-test.cpp | ||
24 | index a61fc4b..bda4646 100644 | ||
25 | --- a/libproxy/test/get-pac-test.cpp | ||
26 | +++ b/libproxy/test/get-pac-test.cpp | ||
27 | @@ -3,6 +3,7 @@ | ||
28 | #include <sstream> | ||
29 | #include <string> | ||
30 | |||
31 | +#include <sys/select.h> | ||
32 | #include <sys/socket.h> | ||
33 | #include <netinet/in.h> | ||
34 | #include <arpa/inet.h> | ||
35 | -- | ||
36 | 2.1.4 | ||
37 | |||