diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 21:04:39 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 21:04:39 +0100 |
commit | c0ec0ec712bde92fbb98f5e2ca545c34e59594db (patch) | |
tree | 92b5849f8c89ddc444f55e814b95b75014f3eac8 /3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch | |
parent | initial 3.8 patchset based on last 3.7 patchset (diff) | |
download | linux-headers-patches-c0ec0ec712bde92fbb98f5e2ca545c34e59594db.tar.gz linux-headers-patches-c0ec0ec712bde92fbb98f5e2ca545c34e59594db.tar.bz2 linux-headers-patches-c0ec0ec712bde92fbb98f5e2ca545c34e59594db.zip |
initial 3.9 patchset based on last 3.8 patchset
Diffstat (limited to '3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch')
-rw-r--r-- | 3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch b/3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch new file mode 100644 index 0000000..5630e5d --- /dev/null +++ b/3.9/00_all_0007-unifdef-drop-unused-errno.h-include.patch @@ -0,0 +1,32 @@ +From 682e334cad807916554cc9b9943621c5f4a7d889 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 6 Dec 2011 17:22:42 -0500 +Subject: [PATCH] unifdef: drop unused errno.h include + +This is the only header on my system that ends up requiring kernel +headers, so if the kernel headers aren't available, we end up being +unable to install kernel headers :). + +Since this file doesn't actually use anything from errno.h, drop +the include so it at least makes us a bit more robust on glibc. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + scripts/unifdef.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/unifdef.c b/scripts/unifdef.c +index 7493c0e..c5dfae5 100644 +--- a/scripts/unifdef.c ++++ b/scripts/unifdef.c +@@ -48,7 +48,6 @@ + + #include <ctype.h> + #include <err.h> +-#include <errno.h> + #include <stdarg.h> + #include <stdbool.h> + #include <stdio.h> +-- +1.8.2.1 + |