--- a/nspr/config/config.mk	2017-10-31 13:13:22.692343122 +0200
+++ b/nspr/config/config.mk	2017-10-31 13:13:58.758016378 +0200
@@ -126,6 +126,9 @@
 
 ifeq ($(USE_IPV6),1)
 DEFINES += -D_PR_INET6
+ifeq ($(MUSL),1)
+CFLAGS += -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE
+endif
 endif
 
 ifeq ($(MOZ_UNICODE),1)
--- a/nspr/config/Makefile.in	2019-03-31 13:44:56.919871810 +0300
+++ b/nspr/config/Makefile.in	2019-03-31 13:45:21.560545948 +0300
@@ -30,7 +30,7 @@
 
 # This version hasn't been ported for us; the one in mozilla/config has
 ifneq ($(OS_ARCH),OS2)
-CSRCS  += nsinstall.c
+#CSRCS  += nsinstall.c
  
 PLSRCS	= nfspwd.pl
 endif
