dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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