Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 1997 16:21:46 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        asami@FreeBSD.org, cvs-all@FreeBSD.org, CVS-committers@FreeBSD.org, cvs-ports@FreeBSD.org
Subject:   Re: cvs commit:  ports/x11/rxvt/patches patch-ab
Message-ID:  <199704250621.QAA18476@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Added:       x11/rxvt/patches  patch-ab
>  Log:
>  #include <sys/types.h> before <utmp.h> if __FreeBSD__ >= 3.  Note there
>  is another #include of <utmp.h> below, but it's outside of the #ifdef
>  scope from <utmp.h>. :(

Why not include <sys/types.h> independently of the value of __FreeBSD__?
<utmp.h> depends on an external definition of time_t in BSD4.4Lite2.
time_t is declared in <sys/types.h> and in several standard headers.
<sys/types.h> is documented prerequisite in FreeBSD-2.2.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704250621.QAA18476>