From fa662c9571e92d5fc4f36414723bbaed1e11b278 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 11 Sep 2009 13:51:50 -0400 Subject: INSTALL: fix build on Snow Leopard http://codereview.appspot.com/116073 --- src/cmd/eqn/e.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/eqn') 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, -- cgit v1.2.3