blob: f26f470840d17ced9e3b65debe19e364c6b98f88 [file] [log] [blame]
Damien Miller04f80141999-11-19 15:32:34 +11001#ifndef _BSD_LOGIN_H
Damien Miller2e1b0821999-12-25 10:11:29 +11002# define _BSD_LOGIN_H
Damien Miller04f80141999-11-19 15:32:34 +11003
Damien Miller2e1b0821999-12-25 10:11:29 +11004# include "config.h"
5# ifndef HAVE_LOGIN
Damien Miller04f80141999-11-19 15:32:34 +11006
Damien Miller2e1b0821999-12-25 10:11:29 +11007# include <utmp.h>
Damien Miller04f80141999-11-19 15:32:34 +11008
Damien Miller2e1b0821999-12-25 10:11:29 +11009# if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
10# include <utmpx.h>
Damien Miller04f80141999-11-19 15:32:34 +110011
Damien Miller2e1b0821999-12-25 10:11:29 +110012void login(struct utmp *utp, struct utmpx *utx);
13
14# else /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
15
16void login(struct utmp *utp);
17
18# endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
19
20# endif /* !HAVE_LOGIN */
Damien Miller04f80141999-11-19 15:32:34 +110021
22#endif /* _BSD_LOGIN_H */