aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tpic
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/tpic
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/tpic')
-rw-r--r--src/cmd/tpic/pic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/tpic/pic.h b/src/cmd/tpic/pic.h
index 50e58009..438e71a6 100644
--- a/src/cmd/tpic/pic.h
+++ b/src/cmd/tpic/pic.h
@@ -12,6 +12,9 @@
#define dprintf if(dbg)printf
extern char errbuf[200];
+
+#undef sprintf /* Snow Leopard */
+
#define ERROR sprintf(errbuf,
#define FATAL ), yyerror(errbuf), exit(1)
#define WARNING ), yyerror(errbuf)