void-packages/srcpkgs/ext4magic/patches/fix-glibc-2.27.patch

26 lines
555 B
Diff

From f7aff7aacb346d7d718aeddb4d0afae96d2245ab Mon Sep 17 00:00:00 2001
From: maxice8 <thinkabit.ukim@gmail.com>
Date: Sat, 22 Sep 2018 22:11:10 -0300
Subject: [PATCH] reconver.c: add sys/sysmacros.h header for makedev
---
src/recover.c | 1 +
1 file changed, 1 insertion(+)
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
--
2.19.0