> You just need to add '#include "monitor_wrap.h"' to the headers of auth.c.
Yes, including monitor_wrap.h header file in auth.c solved the problem and
also Optimized the patch further. Thanks
> you still must include it when adding derived code into loginrec.c.
Yes I have included util-linux compatible license in loginrec.c
Note: btmp Path ( /var/adm/btmp ) has been hardcoded in this patch.
> You just need to add '#include "monitor_wrap.h"' to the headers of auth.c.
Yes, including monitor_wrap.h header file in auth.c solved the problem and
also Optimized the patch further. Thanks
> you still must include it when adding derived code into loginrec.c.
Yes I have included util-linux compatible license in loginrec.c
Note: btmp Path ( /var/adm/btmp ) has been hardcoded in this patch.