blob: 42c2a513071e060d3b20f3ea570e0e6442124ce6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-at,v 1.2 2005/10/09 15:04:14 joerg Exp $
--- src/misc.c.orig 2005-07-22 18:59:34.000000000 +0000
+++ src/misc.c
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <dirent.h>
#include <sys/stat.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <X11/Intrinsic.h> /* Intrinsics Definitions */
#include <X11/StringDefs.h> /* Standard Name-String definitions */
#include <X11/Shell.h> /* Shell Definitions */
@@ -294,7 +294,6 @@ char *get_wd(void)
{
static char *name;
int i=MAX_NAMELENGTH;
- extern int errno;
while(True) {
if ((name=calloc(i,1))==NULL) return(NULL);
|