Fixed building on FreeBSD 8.x

This commit is contained in:
Karsten Pedersen
2013-02-26 19:12:35 +00:00
committed by Jon Trulson
parent cc076d7756
commit 69997241c5
5 changed files with 8 additions and 6 deletions

View File

@@ -61,7 +61,9 @@ static char rcs_id[] = "$TOG: TermPrimSetUtmp.c /main/10 1998/04/03 17:11:42 mgr
#endif /* sun */
#ifdef __FreeBSD__
#if OSMAJORVERSION > 8
#define UT_UTMPX
#endif
#define UT_HOST ut_host
#define UT_NO_pututline
#endif