diff --git a/src/md.c b/src/md.c
index 6a96a9055f9e0bc631b181c9fcf03dc73e3a6b7c..44cad2edbeef32102cf7324fb73d5974c1159796 100644 (file)
--- a/src/md.c
+++ b/src/md.c
#include <linux/major.h>
#include <linux/raid/md_u.h>
+#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
+#endif
+
#define PROC_DISKSTATS "/proc/diskstats"
#define DEV_DIR "/dev"