Updates for NetBSD
This commit is contained in:
@@ -41,6 +41,9 @@
|
||||
#if defined(SHADOW_PASSWORD)
|
||||
#include <shadow.h>
|
||||
#endif
|
||||
#if defined(__NetBSD__)
|
||||
#undef HAVE_UTMPX_H
|
||||
#endif
|
||||
#if HAVE_UTMPX_H
|
||||
#include <utmpx.h>
|
||||
#endif
|
||||
|
@@ -52,6 +52,10 @@
|
||||
#include <stdio.h>
|
||||
#include "utmp.h"
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#undef LOGIN_PROCESS
|
||||
#undef HAVE_UTMPX_H
|
||||
#endif
|
||||
|
||||
#if HAVE_UTMPX_H
|
||||
extern struct utmpx utxent;
|
||||
|
Reference in New Issue
Block a user