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/eqn | |
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/eqn')
-rw-r--r-- | src/cmd/eqn/e.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/eqn/e.h b/src/cmd/eqn/e.h index 432f4eac..07dc4df6 100644 --- a/src/cmd/eqn/e.h +++ b/src/cmd/eqn/e.h @@ -18,6 +18,8 @@ extern int class[LAST][LAST]; #define max(x,y) (((x) >= (y)) ? (x) : (y)) /* beware of side effects */ #define min(x,y) (((x) <= (y)) ? (x) : (y)) +#undef sprintf /* Snow Leopard */ + extern char errbuf[200]; extern char *cmdname; #define ERROR sprintf(errbuf, |