File: fix-FTBFS-with-glibc-2.28.patch

package info (click to toggle)
ext4magic 0.3.2-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,228 kB
  • sloc: ansic: 15,942; sh: 8,350; makefile: 19
file content (22 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: fix FTBFS with glibc 2.28
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Bug: https://sourceforge.net/p/ext4magic/tickets/4/
Bug-Debian: https://bugs.debian.org/916064
Last-Update: 2018-12-10
Index: ext4magic/src/recover.c
===================================================================
--- ext4magic.orig/src/recover.c
+++ ext4magic/src/recover.c
@@ -20,10 +20,11 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
-#include <sys/stat.h> 
+#include <sys/stat.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <utime.h>
+#include <sys/sysmacros.h>
 
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0