0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
termux-packages/packages/libc-client/src-c-client-rfc822.c.patch
2023-04-11 15:13:01 +09:00

14 lines
330 B
Diff

--- a/src/c-client/rfc822.c
+++ b/src/c-client/rfc822.c
@@ -37,6 +37,10 @@
#include <time.h>
#include "c-client.h"
+#ifdef __ANDROID__
+#define gethostid() (0L)
+#endif
+
/* Support for deprecated features in earlier specifications. Note that this
* module follows RFC 2822, and all use of "rfc822" in function names is