diff options
Diffstat (limited to 'src/util/pty/pty-int.h')
-rw-r--r-- | src/util/pty/pty-int.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/pty/pty-int.h b/src/util/pty/pty-int.h index a955533dc..fa7f828f4 100644 --- a/src/util/pty/pty-int.h +++ b/src/util/pty/pty-int.h @@ -99,7 +99,9 @@ long ptyint_void_association(void); long ptyint_open_ctty (char *slave, int *fd); #ifdef HAVE_SETUTXENT long ptyint_update_wtmpx(struct utmpx *utx); -#else +#endif +#if !(defined(WTMPX_FILE) && defined(HAVE_UPDWTMPX)) \ + || !defined(HAVE_SETUXENT) long ptyint_update_wtmp(struct utmp *ut); #endif void ptyint_vhangup(void); |