Only include <utmp.h> and <utmpx.h> once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1776 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -48,10 +48,8 @@ RCSID("$Id$");
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UTMPX_H
|
#ifdef HAVE_UTMPX_H
|
||||||
#include <utmpx.h>
|
|
||||||
struct utmpx wtmp;
|
struct utmpx wtmp;
|
||||||
#else
|
#elif defined(HAVE_UTMP_H)
|
||||||
#include <utmp.h>
|
|
||||||
struct utmp wtmp;
|
struct utmp wtmp;
|
||||||
#endif /* HAVE_UTMPX_H */
|
#endif /* HAVE_UTMPX_H */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user