nfs-utils: fix build with glibc >= 2.27
This commit is contained in:
parent
9784c78786
commit
911e672148
25
srcpkgs/nfs-utils/patches/fix-glibc-sys-sysmacros_h.patch
Normal file
25
srcpkgs/nfs-utils/patches/fix-glibc-sys-sysmacros_h.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/utils/blkmapd/device-discovery.c b/utils/blkmapd/device-discovery.c
|
||||
index 8eb3fd0..746e76f 100644
|
||||
--- utils/blkmapd/device-discovery.c
|
||||
+++ utils/blkmapd/device-discovery.c
|
||||
@@ -49,6 +49,7 @@
|
||||
#include <libgen.h>
|
||||
#include <errno.h>
|
||||
#include <libdevmapper.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "device-discovery.h"
|
||||
#include "xcommon.h"
|
||||
diff --git a/utils/blkmapd/dm-device.c b/utils/blkmapd/dm-device.c
|
||||
index 24ffcbf..d57d4f8 100644
|
||||
--- utils/blkmapd/dm-device.c
|
||||
+++ utils/blkmapd/dm-device.c
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <libdevmapper.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "device-discovery.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user