aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rasdaemon/ras-diskerror.patch
blob: 9924b15fc147c63bf4e1db336defa4ae708d15a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/ras-diskerror-handler.c
+++ b/ras-diskerror-handler.c
@@ -18,6 +18,9 @@
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
+#ifndef __dev_t_defined
+#include <sys/types.h>
+#endif /* __dev_t_defined */
 #include <string.h>
 #include <errno.h>
 #include <sys/sysmacros.h>