pkgsrc/inputmethod/skkserv/patches/patch-ai
dholland 7ba618c468 Fix crashing LP64 build by including necessary standard headers.
Remove NOT_FOR_PLATFORM again. Bump PKGREVISION (to 5) as a precaution.
2010-02-14 22:07:38 +00:00

20 lines
486 B
Text

$NetBSD: patch-ai,v 1.2 2010/02/14 22:07:38 dholland Exp $
--- skkserv/skkserv.h.orig 1997-01-20 19:16:36.000000000 +0000
+++ skkserv/skkserv.h
@@ -37,12 +37,15 @@
/* Necessary for SunOS 3.x and maybe other old systems */
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#include <sys/socket.h>
+#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include <signal.h>