termux-packages/packages/kphp/runtime-udp.cpp.patch

15 lines
259 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- a/runtime/udp.cpp
+++ b/runtime/udp.cpp
@@ -8,6 +8,11 @@
#include <poll.h>
#include <sys/socket.h>
+#ifdef __ANDROID__
+#include <netinet/in.h>
+#include <netinet/in6.h>
+#endif
+
#include "common/resolver.h"
#include "runtime/critical_section.h"