summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorRuediger Meier2016-03-03 17:29:58 +0100
committerRuediger Meier2016-03-07 23:29:55 +0100
commit9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65 (patch)
treefaf0abcbe983155f146c5a2ccbdaa4b258de3db1 /login-utils/last.c
parentmisc: never cast void* from malloc(3) and friends (diff)
downloadkernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.tar.gz
kernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.tar.xz
kernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.zip
libmount: don't include libio.h
This include was added just one month ago in 5a971329 but I don't see what it was good for. It's missing in musl libc. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'login-utils/last.c')
-rw-r--r--login-utils/last.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 38b92efc2..b8c4b832b 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -26,7 +26,7 @@
*/
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <time.h>
#include <stdio.h>
#include <ctype.h>