diff options
Diffstat (limited to 'miscutils/last.c')
-rw-r--r-- | miscutils/last.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index 749862c35..ef41444c5 100644 --- a/miscutils/last.c +++ b/miscutils/last.c | |||
@@ -26,6 +26,12 @@ | |||
26 | #error struct utmp member char[] size(s) have changed! | 26 | #error struct utmp member char[] size(s) have changed! |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | #if ENABLE_FEATURE_LAST_FANCY | ||
30 | |||
31 | #include "last_fancy.c" | ||
32 | |||
33 | #else | ||
34 | |||
29 | int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 35 | int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
30 | int last_main(int argc, char **argv ATTRIBUTE_UNUSED) | 36 | int last_main(int argc, char **argv ATTRIBUTE_UNUSED) |
31 | { | 37 | { |
@@ -92,3 +98,5 @@ int last_main(int argc, char **argv ATTRIBUTE_UNUSED) | |||
92 | 98 | ||
93 | fflush_stdout_and_exit(EXIT_SUCCESS); | 99 | fflush_stdout_and_exit(EXIT_SUCCESS); |
94 | } | 100 | } |
101 | |||
102 | #endif | ||