shithub: drawterm

Download patch

ref: 7d6b0ad1265ef7e7418cc4adc54fe470259a0e33
parent: 313cf4107eb9ebb2e2b7b6c8f61b93eac0b19a11
author: 23hiro <[email protected]>
date: Sat Aug 20 23:38:25 EDT 2016

devip-posix.c: replace PADDRINFOA with addrinfo structs

--- a/kern/devip-posix.c
+++ b/kern/devip-posix.c
@@ -210,7 +210,7 @@
 so_gethostbyname(char *host, char **hostv, int n)
 {
 	char buf[INET6_ADDRSTRLEN];
-	PADDRINFOA r, p;
+	struct addrinfo *r, *p;
 	int i;
 
 	r = NULL;