diff src/editfns.c @ 44890:01b93e5e53a7

Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog, lisp/ChangeLog, and src/ChangeLog for list of changes.
author Andrew Choi <akochoi@shaw.ca>
date Fri, 26 Apr 2002 23:39:06 +0000
parents 46cd50d89b5b
children 1a623890a487
line wrap: on
line diff
--- a/src/editfns.c	Fri Apr 26 22:33:33 2002 +0000
+++ b/src/editfns.c	Fri Apr 26 23:39:06 2002 +0000
@@ -33,6 +33,12 @@
 #include <unistd.h>
 #endif
 
+/* Without this, sprintf on Mac OS Classic will produce wrong
+   result.  */
+#ifdef MAC_OS8
+#include <stdio.h>
+#endif
+
 #include <ctype.h>
 
 #include "lisp.h"