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/troff | |
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/troff')
-rw-r--r-- | src/cmd/troff/tdef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/troff/tdef.h b/src/cmd/troff/tdef.h index 7944dd85..25c9270c 100644 --- a/src/cmd/troff/tdef.h +++ b/src/cmd/troff/tdef.h @@ -68,6 +68,8 @@ typedef struct Tbuf Tbuf; #define oputs(a) OUT "%s", a PUT #define oput(c) ( *obufp++ = (c), obufp > obuf+BUFSIZ ? flusho() : 1 ) +#undef sprintf /* Snow Leopard */ + extern char errbuf[]; #define ERROR sprintf(errbuf, #define WARN ), errprint() |