22 lines
619 B
Plaintext
22 lines
619 B
Plaintext
$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);
|