nixpkgs/pkgs/os-specific/linux/cramfsprogs/include-sysmacros.patch
Pamplemousse ce10e04adf cramfsprogs: init at 1.1
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2020-08-07 10:41:44 -07:00

13 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>