1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Remove include of utmp.h as it doesn't seem to be used by anything.

PR:	ports/143063
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
This commit is contained in:
Tong LIU 2010-01-31 16:21:53 +00:00
parent aebdaaca2d
commit 7633c5e120
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248979

View File

@ -1,6 +1,6 @@
--- plugins/r/src/tm_r.c.orig 2010-01-05 12:02:13.000000000 -0800 --- plugins/r/src/tm_r.c.orig 2009-11-26 10:55:09.000000000 -0800
+++ plugins/r/src/tm_r.c 2010-01-05 12:06:43.000000000 -0800 +++ plugins/r/src/tm_r.c 2010-01-20 22:48:57.000000000 -0800
@@ -11,10 +11,15 @@ @@ -11,11 +11,15 @@
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
@ -12,11 +12,12 @@
#if HAVE_PTY_H #if HAVE_PTY_H
#include <pty.h> #include <pty.h>
#endif #endif
-#include <utmp.h>
+#endif +#endif
#include <utmp.h>
#include <unistd.h> #include <unistd.h>
#include <termios.h> #include <termios.h>
@@ -23,7 +28,6 @@ #include <stdlib.h>
@@ -23,7 +27,6 @@
#include <string.h> #include <string.h>
@ -24,7 +25,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/time.h> #include <sys/time.h>
@@ -469,7 +473,11 @@ @@ -469,7 +472,11 @@
#endif #endif
/* Main pselect switch --------------- */ /* Main pselect switch --------------- */