$NetBSD: patch-aa,v 1.1 2006/05/15 19:41:45 joerg Exp $

--- src/linux_exec.c.orig	2006-05-15 19:33:10.000000000 +0000
+++ src/linux_exec.c
@@ -2,7 +2,7 @@
 #ifndef DEPEND_IGNORE
 #include <X11/Intrinsic.h>
 #include <X11/Shell.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
@@ -16,8 +16,6 @@
 
    /* Compile with something like: gcc -L/usr/X11/lib -lX11 linux_exec.c */
 
-   extern int errno;
-
    #define NOT_RUNNING 0
    #define SENT 1
    #define NO_REPLY 2
