https://bugs.gentoo.org/897822 Add missing fcntl.h. Change sys/time.h to time.h. --- a/finger/lprint.c +++ b/finger/lprint.c @@ -42,13 +42,14 @@ #include #include +#include #include #include #include #include #include #include -#include +#include #include "finger.h" static void lprint(PERSON *pn); --- a/finger/sprint.c +++ b/finger/sprint.c @@ -40,7 +40,7 @@ #endif /* not lint */ #include -#include +#include #include #include #include