mdadm-4.1_sysmacros.diff 418 B

1234567891011121314
  1. --- mdadm-4.1/mdadm.h.orig 2018-10-01 15:26:06.000000000 -0300
  2. +++ mdadm-4.1/mdadm.h 2019-07-25 00:06:25.116883538 -0300
  3. @@ -45,10 +45,7 @@
  4. #include <errno.h>
  5. #include <string.h>
  6. #include <syslog.h>
  7. -#ifdef __GLIBC__
  8. -/* Newer glibc requires sys/sysmacros.h directly for makedev() */
  9. #include <sys/sysmacros.h>
  10. -#endif
  11. #ifdef __dietlibc__
  12. #include <strings.h>
  13. /* dietlibc has deprecated random and srandom!! */