summaryrefslogtreecommitdiffstats
path: root/debian/patches/0005-resource_missing_include.diff
blob: cc1fe91a31ff49c71f4416d6b65dfe9b193aa30d (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
From: Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>
Date: Fri, 24 Nov 2017 16:26:54 +0000
Subject: _resource_missing_include

    lib/isc/unix/resource.c was missing inttypes.h include.

    Addresses-Ubuntu-Bug: 674199
    Signed-off-by: LaMont Jones <lamont@debian.org>
---
 lib/isc/unix/resource.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/isc/unix/resource.c b/lib/isc/unix/resource.c
index 6d5c5aa..a4302c6 100644
--- a/lib/isc/unix/resource.c
+++ b/lib/isc/unix/resource.c
@@ -25,6 +25,7 @@
 #include <isc/util.h>
 
 #ifdef __linux__
+#include <inttypes.h>
 #include <linux/fs.h>	/* To get the large NR_OPEN. */
 #endif