mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Workaround for _PATH_UTMP and _PATH_WTMP defines on musl libc
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5fbcf6814c
commit
8a71f2d323
3 files changed
+20
-6
No files matched your search
+1
-5
@@ -25,16 +25,12 @@
|
||||
|
||||
#include <paths.h>
|
||||
#include <time.h>
|
||||
#include <utmp.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <lite/lite.h>
|
||||
|
||||
#include "helpers.h"
|
||||
|
||||
#ifndef _PATH_BTMP
|
||||
#define _PATH_BTMP "/var/log/btmp"
|
||||
#endif
|
||||
#include "utmp-api.h"
|
||||
|
||||
#define MAX_NO 5
|
||||
#define MAX_SZ 100 * 1024
|
||||
|
||||
Reference in new issue
Block a user