summaryrefslogtreecommitdiff
path: root/net/mrt/patches/patch-ac
blob: 8b30e45f8f6969dfed4e3558aeaf4644048d6865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.1 2005/12/18 22:12:12 joerg Exp $

--- lib/io/io.c.orig	2005-12-18 22:04:17.000000000 +0000
+++ lib/io/io.c
@@ -8,6 +8,7 @@
  */
 
 
+#include <errno.h>
 #include <mrt.h>
 #ifndef NT
 #include <sys/ipc.h>
@@ -610,7 +611,6 @@ get_destq (char *client)
     int server_qid;
     int need_rm = 1;
     ARB_MSG_Struct msg;
-    extern int errno;
 
     /* Get a mailbox endpoint to receive the message from the server.
        Try to create one first; if it already exists, assume we made it