lvm2: update our portability patch.

This commit is contained in:
Juan RP 2015-08-19 09:02:22 +02:00
parent 7752394d40
commit 841d89393c

View file

@ -47,15 +47,3 @@ 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;