mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
headers: add headers for musl libc
On glibc, those are erroneously (namespace pollution) pulled in via other headers. this doesn't work with conformant libcs (musl libc in this case), we simply need to include all needed headers. Signed-Off-By: John Spencer <maillist-lvm@barfooze.de>
This commit is contained in:
parent
7cd25062ac
commit
d3b8f270ea
@ -37,6 +37,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <arpa/inet.h> /* for htonl, ntohl */
|
#include <arpa/inet.h> /* for htonl, ntohl */
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
#ifdef linux
|
#ifdef linux
|
||||||
/*
|
/*
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "dmlib.h"
|
#include "dmlib.h"
|
||||||
|
#include <stddef.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
struct chunk {
|
struct chunk {
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <limits.h> /* for PATH_MAX */
|
||||||
#include "lvm2app.h"
|
#include "lvm2app.h"
|
||||||
|
|
||||||
#define KMSG_DEV_PATH "/dev/kmsg"
|
#define KMSG_DEV_PATH "/dev/kmsg"
|
||||||
|
Loading…
Reference in New Issue
Block a user