PATCH: tweak tools/sfnt2fnt.c
Gerald Pfeifer
gerald at pfeifer.com
Sat Aug 21 08:41:03 CDT 2004
The addition of tools/sfnt2fnt.c by
Huw Davies <huw at codeweavers.com>
First stab at Wine versions of Courier, System and MS Sans Serif
fonts.
has the following problem (seen on at least FreeBSD 4.10):
sfnt2fnt.c:417: warning: implicit declaration of function `exit'
The patch below fixes this.
Gerald
ChangeLog:
#include <stdlib> for a prototype of exit().
Index: sfnt2fnt.c
===================================================================
RCS file: /home/wine/wine/tools/sfnt2fnt.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 sfnt2fnt.c
--- sfnt2fnt.c 17 Aug 2004 22:33:14 -0000 1.1
+++ sfnt2fnt.c 21 Aug 2004 13:39:59 -0000
@@ -23,6 +23,7 @@
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#ifdef HAVE_FREETYPE
More information about the wine-patches
mailing list