27 lines
701 B
Text
27 lines
701 B
Text
|
Index: parse.c
|
||
|
--- parse.c.orig
|
||
|
+++ parse.c
|
||
|
@@ -41,11 +41,13 @@ static char RCSinfo[]=
|
||
|
"$XConsortium: parse.c,v 1.45 90/03/15 14:23:02 jim Exp $";
|
||
|
#endif
|
||
|
|
||
|
+#include <sys/wait.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <ctype.h>
|
||
|
#include <X11/Xos.h>
|
||
|
#include <X11/Xmu/CharSet.h>
|
||
|
+#include <X11/Xmu/SysUtil.h>
|
||
|
#include "twm.h"
|
||
|
#include "screen.h"
|
||
|
#include "menus.h"
|
||
|
@@ -1335,7 +1337,7 @@ do_squeeze_entry (name_list **list, /* squeeze or do
|
||
|
|
||
|
if (!sinfo) {
|
||
|
twmrc_error_prefix();
|
||
|
- fprintf (stderr, "unable to allocate %d bytes for squeeze info\n",
|
||
|
+ fprintf (stderr, "unable to allocate %zu bytes for squeeze info\n",
|
||
|
sizeof(SqueezeInfo));
|
||
|
return;
|
||
|
}
|