2013-09-26 17:14:40 +02:00

26 lines
642 B
Plaintext

$NetBSD: patch-ci,v 1.2 2011/12/24 17:07:07 dholland 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);