aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pic/pic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/pic/pic.h')
-rw-r--r--src/cmd/pic/pic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/pic/pic.h b/src/cmd/pic/pic.h
index a4f7a6a4..928d38dd 100644
--- a/src/cmd/pic/pic.h
+++ b/src/cmd/pic/pic.h
@@ -10,6 +10,9 @@
extern void yyerror(char *);
extern char errbuf[200];
+
+#undef sprintf /* Snow Leopard */
+
#define ERROR sprintf(errbuf,
#define FATAL ), yyerror(errbuf), exit(1)
#define WARNING ), yyerror(errbuf)