File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,20 @@ $(TARBALLS)/libwebsockets-1.3-chrome37-firefox30.zip:
10
10
11
11
websockets : libwebsockets-1.3-chrome37-firefox30.zip .sum-websockets
12
12
$(UNPACK )
13
+ ifdef HAVE_ANDROID
14
+ $(APPLY) $(SRC)/websockets/websocket_android.patch
15
+ endif
13
16
$(MOVE)
14
17
15
18
ifdef HAVE_TIZEN
16
19
EX_ECFLAGS = -fPIC
17
20
endif
18
21
22
+ # FIXME: we need to pass __ANDROID__ to cflags
23
+ # ifdef HAVE_ANDROID
24
+ # EX_ECFLAGS = -D__ANDROID__
25
+ # endif
26
+
19
27
DEPS_websockets = zlib $(DEPS_zlib )
20
28
21
29
.websockets : websockets .zlib toolchain.cmake
Original file line number Diff line number Diff line change
1
+ diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h
2
+ index 6fae889..97c0d0e 100755
3
+ --- a/lib/private-libwebsockets.h
4
+ +++ b/lib/private-libwebsockets.h
5
+ @@ -105,7 +105,7 @@
6
+ #else
7
+ #include <ifaddrs.h>
8
+ #endif
9
+ - #include <sys/syslog.h>
10
+ + #include <syslog.h>
11
+ #include <sys/un.h>
12
+ #include <sys/socket.h>
13
+ #include <netdb.h>
You can’t perform that action at this time.
0 commit comments