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

15 lines
319 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- 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"