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.
This commit is contained in:
Jakub Jirutka 2018-11-12 18:41:32 +01:00 committed by William Hubbs
parent d87f5b2f24
commit d65e603acd

View File

@ -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>