summaryrefslogtreecommitdiff
path: root/parallel/clusterit/patches/patch-rvt_ttyinit.c
blob: 7298a609fd556ae65e83614a5e77f94c8613d02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-rvt_ttyinit.c,v 1.1 2013/12/17 06:45:40 asau Exp $

--- rvt/ttyinit.c.orig	2007-01-24 19:02:10.000000000 +0000
+++ rvt/ttyinit.c	2013-12-17 06:40:04.802505132 +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 <grp.h>
 #include <pwd.h>
 #include <errno.h>