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