termux-packages/packages/kphp/runtime-openssl.cpp.patch
2022-01-14 10:49:11 +02:00

15 lines
319 B
Diff

--- a/runtime/openssl.cpp
+++ b/runtime/openssl.cpp
@@ -21,6 +21,11 @@
#include <sys/time.h>
#include <unistd.h>
+#ifdef __ANDROID__
+#include <netinet/in.h>
+#include <netinet/in6.h>
+#endif
+
#include "common/crc32.h"
#include "common/resolver.h"
#include "common/smart_ptrs/unique_ptr_with_delete_function.h"