nixpkgs-suyu/pkgs/os-specific/linux/cramfsprogs/include-sysmacros.patch

13 lines
306 B
Diff
Raw Normal View History

diff --git a/mkcramfs.c b/mkcramfs.c
index a2ef018959d..bec83c112d1 100644
--- a/mkcramfs.c
+++ b/mkcramfs.c
@@ -22,6 +22,7 @@
* If you change the disk format of cramfs, please update fs/cramfs/README.
*/
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <stdio.h>
#include <sys/stat.h>