git: 9front

Download patch

ref: 45bc45129d9aa5c38359568e4fdfd12eb47d110e
parent: 209590c6090ee314200c03867332cf72a3977774
author: mischief <mischief@offblast.org>
date: Sat Dec 1 22:30:22 EST 2018

ape: declare gethostname

--- a/sys/include/ape/bsd.h
+++ b/sys/include/ape/bsd.h
@@ -46,6 +46,8 @@
 extern char	*sys_errlist[];
 extern int		sys_nerr;
 
+extern int	gethostname(char*, int);
+
 #ifdef __cplusplus
 }
 #endif
--