lvm2: update portability musl patch to unbreak cross arm/musl.
This commit is contained in:
parent
d1b8ee62e5
commit
51247043cc
1 changed files with 12 additions and 0 deletions
|
@ -47,3 +47,15 @@ Portability fixes:
|
|||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
--- libdm/libdm-timestamp.c.orig 2015-08-10 01:49:59.000000000 +0200
|
||||
+++ libdm/libdm-timestamp.c 2015-08-11 08:20:26.324155251 +0200
|
||||
@@ -34,7 +34,9 @@
|
||||
#ifdef HAVE_REALTIME
|
||||
|
||||
#include <time.h>
|
||||
+#ifdef __GLIBC__
|
||||
#include <bits/time.h>
|
||||
+#endif
|
||||
|
||||
struct dm_timestamp {
|
||||
struct timespec t;
|
||||
|
|
Loading…
Reference in a new issue