From: Dean Prichard Date: Mon, 8 Feb 2010 19:53:27 +0000 (-0800) Subject: Fix *l/*c -V flag segfault X-Git-Tag: weekly.2010-02-17~65 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=49c42569138d027b7c7e68dbbe58fd1864045767;p=gostls13.git 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 --- 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();