ext4magic: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch
2020-01-25 12:55:11 +01:00
parent 4f5830cf9e
commit be238f8aef
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,12 @@
diff --git a/src/recover.c b/src/recover.c
index 41b4aee..30b5d8f 100644
--- a/src/recover.c
+++ b/src/recover.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <fcntl.h>
#include <utime.h>
+#include <sys/sysmacros.h>
#ifndef O_LARGEFILE
#define O_LARGEFILE 0