void-packages/srcpkgs/nfs-utils/patches/fix-glibc-sys-sysmacros_h.p...

26 lines
660 B
Diff

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"