blob: d7f3fc166d817e9220cd0da937bc85e512112d39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ah,v 1.1 2005/12/15 23:02:33 joerg Exp $
--- shm.c.orig 2005-12-15 22:55:48.000000000 +0000
+++ shm.c
@@ -60,6 +60,8 @@ static char rcsid[] = "$Id: shm.c,v 1.18
#endif
#endif /* HAVE_SVIPC_SHM */
+#include <errno.h>
+
#include "compat.h"
#include "colour.h"
@@ -89,7 +91,6 @@ union overhead {
#define MAGIC 0xef /* magic # on accounting info */
-extern int errno;
extern char *myname; /* in main.c */
static void morecore __P((int));
|