| diff -ur cooledit-3.17.17.orig/editor/postscript.c cooledit-3.17.17/editor/postscript.c |
| --- cooledit-3.17.17.orig/editor/postscript.c 2005-04-04 23:47:45.000000000 +0300 |
| +++ cooledit-3.17.17/editor/postscript.c 2008-12-07 14:55:25.000000000 +0200 |
| @@ -1,5 +1,7 @@ |
| #include <config.h> |
| +#include <stdlib.h> |
| #include <stdio.h> |
| +#include <string.h> |
| #ifdef HAVE_SYS_STAT_H |
| #include <sys/stat.h> |
| #endif |
| diff -ur cooledit-3.17.17.orig/widget/aafont.c cooledit-3.17.17/widget/aafont.c |
| --- cooledit-3.17.17.orig/widget/aafont.c 2005-04-04 23:47:45.000000000 +0300 |
| +++ cooledit-3.17.17/widget/aafont.c 2008-12-07 14:54:23.000000000 +0200 |
| @@ -20,6 +20,7 @@ |
| #include <config.h> |
| #include <stdlib.h> |
| #include <stdio.h> |
| +#include <string.h> |
| #include <X11/Xlib.h> |
| #include <X11/Xutil.h> |
| #include "aafont.h" |
| diff -ur cooledit-3.17.17.orig/widget/mad.c cooledit-3.17.17/widget/mad.c |
| --- cooledit-3.17.17.orig/widget/mad.c 2005-04-04 23:47:45.000000000 +0300 |
| +++ cooledit-3.17.17/widget/mad.c 2008-12-07 14:54:30.000000000 +0200 |
| @@ -22,6 +22,8 @@ |
| /* Generation MAD. It is based on the debauch package. */ |
| /********************************************************************/ |
| |
| +#include <stdlib.h> |
| +#include <string.h> |
| #include "mad.h" |
| |
| #undef malloc |