aboutsummaryrefslogtreecommitdiff
path: root/src/shared/wtmp.c
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 04:15:48 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-29 11:32:22 -0600
commit616f756ca82a0538cb98f8ab1e7cb0de7a09097f (patch)
tree2046a135610730917ccf00e48529600fef0a9393 /src/shared/wtmp.c
parent17cfb41d818ff39103f91b7f973eb749b27015e5 (diff)
shared: missing includes from IWYU
Diffstat (limited to 'src/shared/wtmp.c')
-rw-r--r--src/shared/wtmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/wtmp.c b/src/shared/wtmp.c
index 5881aeba..286e5394 100644
--- a/src/shared/wtmp.c
+++ b/src/shared/wtmp.c
@@ -15,14 +15,12 @@
* except according to the terms contained in the LICENSE file.
*/
-#include <stdbool.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/utsname.h>
+#include <utmp.h>
#include "wtmp.h"