diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-11-12 18:41:32 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-09 22:30:59 -0500 |
commit | d65e603acd9b1f542069c59482c5e22502afa872 (patch) | |
tree | 2b80c10127ded4454c7fdcba50a14961b0010693 /src/rc | |
parent | d87f5b2f24e5c521cbe410df17289e25477e45ac (diff) |
Fix undeclared UT_LINESIZE
Fix the following error:
broadcast.c:41:21: error: '__UT_LINESIZE' undeclared (first use in this function); did you mean 'UT_LINESIZE'?
#define UT_LINESIZE __UT_LINESIZE
^~~~~~~~~~
Constant UT_LINESIZE is defined in <utmp.h> provided by musl.
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/broadcast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/broadcast.c b/src/rc/broadcast.c index 47c093ce..4877fb74 100644 --- a/src/rc/broadcast.c +++ b/src/rc/broadcast.c @@ -22,6 +22,7 @@ #include <time.h> #include <unistd.h> #include <stdio.h> +#include <utmp.h> #include <utmpx.h> #include <pwd.h> #include <fcntl.h> |