aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDean Prichard <dean.prichard@gmail.com>2010-02-08 11:53:27 -0800
committerAndrew Gerrand <adg@golang.org>2010-02-08 11:53:27 -0800
commit49c42569138d027b7c7e68dbbe58fd1864045767 (patch)
tree3945e5bd279ac343f2d77e6f78fa306815a90330 /include
parentb4fb00b69bfdde92aa94b4fdd2376e47f0293c40 (diff)
downloadgo-49c42569138d027b7c7e68dbbe58fd1864045767.tar.xz
Fix *l/*c -V flag segfault
*l/*c -V will segfault on macos without this trivial fix. R=adg CC=golang-dev https://golang.org/cl/205042
Diffstat (limited to 'include')
-rw-r--r--include/libc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h
index 7774f98fa1..ea6fc3b262 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -289,6 +289,7 @@ extern ulong rendezvous(ulong, ulong);
extern char* getgoos(void);
extern char* getgoarch(void);
extern char* getgoroot(void);
+extern char* getgoversion(void);
#ifdef __MINGW32__
extern int fork();