summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/jfsutils-include-systypes.patch
blob: ef1515d02c040c2db2cc5ba84054c4ea900e0fbc (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Thu, 12 Dec 2019 02:15:37 +0100
Subject: gnu: jfsutils: Include sys/types.h.

Copied verbatim[0] from the Debian package.

[0]: https://sources.debian.org/patches/jfsutils/1.1.15-4/missing-includes.diff

Description: Add missing include to fix FTBFS with eglibc 2.17
Origin: vendor, http://patches.ubuntu.com/j/jfsutils/jfsutils_1.1.15-2ubuntu1.patch
Bug-Debian: http://bugs.debian.org/701433
Last-Update: 2013-07-05

Index: b/fscklog/extract.c
===================================================================
--- a/fscklog/extract.c	2006-06-05 19:31:40.000000000 +0000
+++ b/fscklog/extract.c	2013-04-02 07:13:08.737654963 +0000
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 #include "devices.h"
 #include "diskmap.h"