openbsd-ports/japanese/Wnn/patches/patch-Wnn_uum_jutil_c
espie 2625bb5332 fixes for clang: don't compile a clone of getopt.
while there, fix system includes, implicit ints, and void main.
2017-04-29 14:31:40 +00:00

13 lines
306 B
Plaintext

$OpenBSD: patch-Wnn_uum_jutil_c,v 1.1 2017/04/29 14:31:40 espie Exp $
--- Wnn/uum/jutil.c.orig
+++ Wnn/uum/jutil.c
@@ -52,6 +52,8 @@
/* 活辞書とはカレントユーザ辞書のことだよ */
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include "commonhd.h"
#include "jslib.h"
#include "jllib.h"