blob: da33a25a48904cb5c82a6b6c3fb95ff547cf0783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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.
--- 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>
|