From 38430213f5206fddb865f712d00b35fd98654fd9 Mon Sep 17 00:00:00 2001
From: Russ Cox <rsc@golang.org>
Date: Tue, 19 Jan 2010 09:08:05 -0800
Subject: [PATCH] libc: add goos, goarch, goroot.  fixes build

TBR=r
CC=golang-dev
https://golang.org/cl/190059
---
 include/libc.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/libc.h b/include/libc.h
index 7b86399fee..7774f98fa1 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -286,6 +286,10 @@ extern	Waitmsg*	waitnohang(void);
 extern	int	p9waitpid(void);
 extern	ulong	rendezvous(ulong, ulong);
 
+extern	char*	getgoos(void);
+extern	char*	getgoarch(void);
+extern	char*	getgoroot(void);
+
 #ifdef __MINGW32__
 extern int fork();
 extern int pread(int fd, void *buf, int n, int off);
-- 
2.30.9