mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 826931 (follow-up): fix build break. r=me
1. include netdb.h for |gethostbyname|. 2. link mozipcunixsocket_s whenever MOZ_B2G_RIL is enabled.
This commit is contained in:
parent
54107a6a7a
commit
963acffc9a
@ -7,6 +7,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <netdb.h> // For gethostbyname.
|
||||
|
||||
#undef LOG
|
||||
#if defined(MOZ_WIDGET_GONK)
|
||||
|
@ -113,7 +113,11 @@ STATIC_LIBS += mozril_s
|
||||
endif #}
|
||||
|
||||
ifdef MOZ_B2G_BT #{
|
||||
STATIC_LIBS += mozdbus_s mozipcunixsocket_s
|
||||
STATIC_LIBS += mozdbus_s
|
||||
endif #}
|
||||
|
||||
ifneq ($(strip $(MOZ_B2G_RIL)$(MOZ_B2G_BT)),) #{
|
||||
STATIC_LIBS += mozipcunixsocket_s
|
||||
endif #}
|
||||
|
||||
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
||||
|
Loading…
Reference in New Issue
Block a user