$NetBSD: patch-ci,v 1.1 2006/01/04 20:35:08 joerg Exp $

- use standard headers
- don't declare own errno

--- src/xrdb.c.orig	1995-02-17 07:55:38.000000000 +0000
+++ src/xrdb.c
@@ -22,6 +22,8 @@ the Free Software Foundation, 675 Mass A
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #if 1 /* I'd really appreciate it if this code could go away...  -JimB */
 /* this avoids lossage in the `dual-universe' headers on AT&T SysV X11 */
@@ -665,8 +667,6 @@ fatal (msg, prog, x1, x2, x3, x4, x5)
     char *msg, *prog;
     int x1, x2, x3, x4, x5;
 {
-    extern int errno;
-
     if (errno)
       perror (prog);
 
