mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Don't #include <utmp.h> if it doesn't exist.
A FreeBSD user reports that it doesn't exist there.
This commit is contained in:
@ -13,7 +13,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <grp.h>
|
||||
#if HAVE_UTMP_H
|
||||
#include <utmp.h>
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
|
Reference in New Issue
Block a user