aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-11-12 18:41:32 +0100
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-09 22:30:59 -0500
commitd65e603acd9b1f542069c59482c5e22502afa872 (patch)
tree2b80c10127ded4454c7fdcba50a14961b0010693 /src
parentd87f5b2f24e5c521cbe410df17289e25477e45ac (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')
-rw-r--r--src/rc/broadcast.c1
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>