Date: Sun, 9 Jan 2011 10:54:28 -0500 From: Ben Kibbey <bjk@luxsci.net> To: ports@FreeBSD.org Subject: FreeBSD Port: sysutils/userinfo Message-ID: <201101091555.p09Ft22H023380@rs49.luxsci.com>
next in thread | raw e-mail | index | archive | help
I noticed a build failure for the userinfo utility not too long ago. There is no longer a ports maintainer for this one so I thought I'd try to get it fixed here. Could someone see if the following patch fixes it as I don't have a FreeBSD box. Also, where are the build logs? I can't seem to find them again. diff --git a/src/modules/login.c b/src/modules/login.c index 0f354a7..9bf0b24 100644 --- a/src/modules/login.c +++ b/src/modules/login.c @@ -24,7 +24,6 @@ #include <time.h> #include <pwd.h> #include <ctype.h> -#include <utmp.h> #ifdef HAVE_CONFIG_H #include <config.h> diff --git a/src/modules/login.h b/src/modules/login.h index 55bd5bb..2a20765 100644 --- a/src/modules/login.h +++ b/src/modules/login.h @@ -59,6 +59,7 @@ #endif typedef struct utmpx UTMP; #else +#include <utmp.h> typedef struct utmp UTMP; #endif -- Ben Kibbey [XMPP: bjk AT thiessen DOT org] - [IRC: (bjk) FreeNode/OFTC]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101091555.p09Ft22H023380>