diff options
Diffstat (limited to 'testing/rasdaemon/ras-diskerror.patch')
| -rw-r--r-- | testing/rasdaemon/ras-diskerror.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/rasdaemon/ras-diskerror.patch b/testing/rasdaemon/ras-diskerror.patch new file mode 100644 index 0000000000..9924b15fc1 --- /dev/null +++ b/testing/rasdaemon/ras-diskerror.patch @@ -0,0 +1,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> |
