openbsd-ports/japanese/Wnn/patches/patch-Wnn_jutil_wdreg_c
2022-03-11 19:24:42 +00:00

21 lines
358 B
Plaintext

--- Wnn/jutil/wdreg.c.orig
+++ Wnn/jutil/wdreg.c
@@ -53,6 +53,8 @@ static char *rcs_id = "$Id: wdreg.c,v 1.5 1992/11/30 0
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include "commonhd.h"
@@ -99,7 +101,7 @@ err()
exit(1);
}
-void
+int
main(argc, argv)
int argc;
char **argv;