summaryrefslogtreecommitdiff
path: root/x11/xmx/patches/patch-ah
blob: 6458cf602a2ea5e546a5b518d8b5a083d7eb4e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ah,v 1.2 2011/07/03 20:15:58 dholland Exp $

- use modern C

--- lib/Xmc/Open.c~	1998-02-12 09:13:22.000000000 -0500
+++ lib/Xmc/Open.c	2008-08-31 00:19:40.000000000 -0400
@@ -32,6 +32,9 @@
 #ifdef SVR4
 #include <sys/filio.h>
 #endif
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <fcntl.h>
 #include <netdb.h>
 #include <xmc.h>