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
|
||||
|
||||
#ifdef HAVE_UTMPX_H
|
||||
#include <utmpx.h>
|
||||
struct utmpx wtmp;
|
||||
#else
|
||||
#include <utmp.h>
|
||||
#elif defined(HAVE_UTMP_H)
|
||||
struct utmp wtmp;
|
||||
#endif /* HAVE_UTMPX_H */
|
||||
|
||||
|
Reference in New Issue
Block a user