24 lines
582 B
Text
24 lines
582 B
Text
$NetBSD: patch-ae,v 1.3 2013/12/17 06:45:40 asau Exp $
|
|
|
|
--- rvt/command.c.orig 2008-02-27 19:29:48.000000000 +0000
|
|
+++ rvt/command.c 2013-12-17 06:36:55.670505584 +0000
|
|
@@ -41,7 +41,11 @@
|
|
#include <unistd.h>
|
|
#include <signal.h>
|
|
#include <fcntl.h>
|
|
+#if defined(__FreeBSD__)
|
|
+#include <utmpx.h>
|
|
+#else
|
|
#include <utmp.h>
|
|
+#endif
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
#include "rvt.h"
|
|
@@ -453,7 +457,6 @@
|
|
unsigned char *s;
|
|
int count, sv;
|
|
unsigned char mask = is_eightbit() ? 0xff : 0x7f;
|
|
- extern int errno;
|
|
|
|
if (com_stack_top > com_stack)
|
|
return(*--com_stack_top);
|