1
0
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:
Simon Tatham
2021-05-13 18:40:05 +01:00
parent 6e69223dc2
commit 6791bdc9b6
3 changed files with 4 additions and 0 deletions

View File

@ -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>