void-packages/srcpkgs/OpenCPN/patches/musl.patch

31 lines
694 B
Diff

--- include/zeroconf-detail.hpp 2020-07-15 20:02:29.000000000 +0200
+++ - 2020-07-25 18:04:24.579351335 +0200
@@ -20,9 +20,7 @@
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#else
- #ifndef __WXOSX__
- #include <error.h>
- #else
+ #ifdef __WXOSX__
#include <mach/error.h>
#endif
@@ -424,4 +422,4 @@
}
}
-#endif // ZEROCONF_DETAIL_HPP
\ No newline at end of file
+#endif // ZEROCONF_DETAIL_HPP
--- include/zeroconf-detail.hpp 2020-07-25 18:05:08.714098962 +0200
+++ - 2020-07-25 18:10:40.700768834 +0200
@@ -27,6 +27,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#endif