aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
blob: 3da4e9f55a781ede1def3408234f28db98afe894 (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
26
27
28
29
From 552a7d64ad4a7188a9b7cd89933ae7caf7ebfe90 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier at gentoo.org>
Date: Thu, 18 Nov 2010 16:59:14 -0500
Subject: [PATCH gnulib] printf-parse: pull in features.h for __GLIBC__

Upstream-Status: Pending

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 lib/printf-parse.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/printf-parse.h b/lib/printf-parse.h
index 67a4a2a..3bd6152 100644
--- a/lib/printf-parse.h
+++ b/lib/printf-parse.h
@@ -25,6 +25,9 @@
 
 #include "printf-args.h"
 
+#ifdef HAVE_FEATURES_H
+# include <features.h>	/* for __GLIBC__ */
+#endif
 
 /* Flags */
 #define FLAG_GROUP       1      /* ' flag */
-- 
1.7.3.2