summaryrefslogtreecommitdiff
path: root/parallel/clusterit/patches/patch-ae
blob: a09c0e7ab6b20ee24704037924106e81312edc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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);