dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0007-remove-unused-error.h-from-kern-emu-misc.c.patch

f725e3
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f725e3
From: Andrey Borzenkov <arvidjaar@gmail.com>
f725e3
Date: Sat, 28 Dec 2013 09:01:20 +0400
f725e3
Subject: [PATCH] remove unused error.h from kern/emu/misc.c
f725e3
f725e3
Fixes compilation on mingw32, where include is apparently missing.
f725e3
---
f725e3
 grub-core/kern/emu/misc.c | 1 -
f725e3
 ChangeLog                 | 5 +++++
f725e3
 2 files changed, 5 insertions(+), 1 deletion(-)
f725e3
f725e3
diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
f725e3
index 43471b4efe9..bb606da2803 100644
f725e3
--- a/grub-core/kern/emu/misc.c
f725e3
+++ b/grub-core/kern/emu/misc.c
f725e3
@@ -20,7 +20,6 @@
f725e3
 #include <config.h>
f725e3
 
f725e3
 #include <errno.h>
f725e3
-#include <error.h>
f725e3
 #include <stdio.h>
f725e3
 #include <stdlib.h>
f725e3
 #include <stdint.h>
f725e3
diff --git a/ChangeLog b/ChangeLog
f725e3
index c33856eab8d..0401f6154f8 100644
f725e3
--- a/ChangeLog
f725e3
+++ b/ChangeLog
f725e3
@@ -1,3 +1,8 @@
f725e3
+2013-12-28  Andrey Borzenkov <arvidjaar@gmail.com>
f725e3
+
f725e3
+	* grub-core/kern/emu/misc.c: Remove unused error.h; fixes compilation
f725e3
+	on mingw.
f725e3
+
f725e3
 2013-12-28  Colin Watson  <cjwatson@ubuntu.com>
f725e3
 
f725e3
 	* NEWS: The cmosclean command in fact dates back to 1.99.  Remove