1
0
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:
Zdenek Kabelac 2013-02-05 09:33:30 +01:00
parent 7cd25062ac
commit d3b8f270ea
3 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <unistd.h>
#include <signal.h>
#include <arpa/inet.h> /* for htonl, ntohl */
#include <fcntl.h>
#ifdef linux
/*

View File

@ -18,6 +18,7 @@
#endif
#include "dmlib.h"
#include <stddef.h>
#include <malloc.h>
struct chunk {

View File

@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h> /* for PATH_MAX */
#include "lvm2app.h"
#define KMSG_DEV_PATH "/dev/kmsg"