From 49c42569138d027b7c7e68dbbe58fd1864045767 Mon Sep 17 00:00:00 2001 From: Dean Prichard Date: Mon, 8 Feb 2010 11:53:27 -0800 Subject: [PATCH] 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 --- include/libc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libc.h b/include/libc.h index 7774f98fa17..ea6fc3b2620 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();