322c36fde936e34bf11d8814ac74ded6119625df
[gentoo.git] / app-editors / cooledit / files / cooledit-3.17.17-implicit_declarations.patch
1 diff -ur cooledit-3.17.17.orig/editor/postscript.c cooledit-3.17.17/editor/postscript.c
2 --- cooledit-3.17.17.orig/editor/postscript.c   2005-04-04 23:47:45.000000000 +0300
3 +++ cooledit-3.17.17/editor/postscript.c        2008-12-07 14:55:25.000000000 +0200
4 @@ -1,5 +1,7 @@
5  #include <config.h>
6 +#include <stdlib.h>
7  #include <stdio.h>
8 +#include <string.h>
9  #ifdef HAVE_SYS_STAT_H
10  #include <sys/stat.h>
11  #endif
12 diff -ur cooledit-3.17.17.orig/widget/aafont.c cooledit-3.17.17/widget/aafont.c
13 --- cooledit-3.17.17.orig/widget/aafont.c       2005-04-04 23:47:45.000000000 +0300
14 +++ cooledit-3.17.17/widget/aafont.c    2008-12-07 14:54:23.000000000 +0200
15 @@ -20,6 +20,7 @@
16  #include <config.h>
17  #include <stdlib.h>
18  #include <stdio.h>
19 +#include <string.h>
20  #include <X11/Xlib.h>
21  #include <X11/Xutil.h>
22  #include "aafont.h"
23 diff -ur cooledit-3.17.17.orig/widget/mad.c cooledit-3.17.17/widget/mad.c
24 --- cooledit-3.17.17.orig/widget/mad.c  2005-04-04 23:47:45.000000000 +0300
25 +++ cooledit-3.17.17/widget/mad.c       2008-12-07 14:54:30.000000000 +0200
26 @@ -22,6 +22,8 @@
27  /* Generation MAD. It is based on the debauch package.              */
28  /********************************************************************/
29  
30 +#include <stdlib.h>
31 +#include <string.h>
32  #include "mad.h"
33  
34  #undef malloc