depot/third_party/nixpkgs/pkgs/os-specific/linux/cramfsprogs/include-sysmacros.patch
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

12 lines
306 B
Diff

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>