termux-packages/packages/oleo/xrdb.c.patch

20 lines
392 B
Diff

--- ../tmp-orig/oleo-1.99.16/src/xrdb.c 2000-08-10 23:02:51.000000000 +0200
+++ src/src/xrdb.c 2005-03-18 20:42:30.966398277 +0100
@@ -450,6 +450,7 @@
#ifdef TESTRM
#include <stdio.h>
+#include <errno.h>
#include "arg-list.h"
static void
@@ -457,7 +458,6 @@
char *msg, *prog;
int x1, x2, x3, x4, x5;
{
- extern int errno;
if (errno)
perror (prog);