aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/eqn/e.h
diff options
context:
space:
mode:
authorRuss Cox <russcox@gmail.com>2009-09-11 13:51:50 -0400
committerRuss Cox <russcox@gmail.com>2009-09-11 13:51:50 -0400
commitfa662c9571e92d5fc4f36414723bbaed1e11b278 (patch)
treefa5953ca28ab8687e1186b4183d480a98feed2bc /src/cmd/eqn/e.h
parenta673ea22035ad986afc84d44543cd232218ddbe9 (diff)
downloadplan9port-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/e.h')
-rw-r--r--src/cmd/eqn/e.h2
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,