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

- use modern C

--- lib/Xmc/common.c~	1998-04-01 18:51:21.000000000 -0500
+++ lib/Xmc/common.c	2008-08-31 00:16:29.000000000 -0400
@@ -27,6 +27,8 @@
 #include <sys/select.h>
 #endif
 #include <sys/socket.h>
+#include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 #include <netdb.h>
 #include <xmc.h>