diff options
author | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
---|---|---|
committer | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
commit | fa662c9571e92d5fc4f36414723bbaed1e11b278 (patch) | |
tree | fa5953ca28ab8687e1186b4183d480a98feed2bc /src/cmd/grap | |
parent | a673ea22035ad986afc84d44543cd232218ddbe9 (diff) | |
download | plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.gz plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.bz2 plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.zip |
INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
Diffstat (limited to 'src/cmd/grap')
-rw-r--r-- | src/cmd/grap/grap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/grap/grap.h b/src/cmd/grap/grap.h index bab62478..b392539c 100644 --- a/src/cmd/grap/grap.h +++ b/src/cmd/grap/grap.h @@ -1,4 +1,7 @@ extern char errbuf[200]; + +#undef sprintf /* Snow Leopard */ + #define ERROR sprintf(errbuf, #define FATAL ), yyerror(errbuf), exit(1) #define WARNING ), yyerror(errbuf) |