All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD
@ 2019-03-22 16:31 Vladimir 'phcoder' Serbinenko
  2019-03-22 23:54 ` Colin Watson
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2019-03-22 16:31 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

-- 
Regards
Vladimir 'phcoder' Serbinenko

[-- Attachment #2: 0003-kern-emu-misc.c-Don-t-include-config-util.h-when-run.patch --]
[-- Type: application/octet-stream, Size: 688 bytes --]

From 0874ae0fb735dfd5c36093ddf363955275c4d0c7 Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <phcoder@gmail.com>
Date: Fri, 22 Mar 2019 17:19:38 +0100
Subject: [PATCH 3/3] kern/emu/misc.c: Don't include config-util.h when running
 as GRUB_BUILD

---
 grub-core/kern/emu/misc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
index 76661337f..65db79baa 100644
--- a/grub-core/kern/emu/misc.c
+++ b/grub-core/kern/emu/misc.c
@@ -16,7 +16,9 @@
  *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef GRUB_BUILD
 #include <config-util.h>
+#endif
 #include <config.h>
 
 #include <errno.h>
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD
  2019-03-22 16:31 [PATCH] kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD Vladimir 'phcoder' Serbinenko
@ 2019-03-22 23:54 ` Colin Watson
  2019-03-25 13:08   ` Daniel Kiper
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Watson @ 2019-03-22 23:54 UTC (permalink / raw)
  To: The development of GNU GRUB

Ah, this explains some strangeness I was seeing.  Thanks.

Reviewed-by: Colin Watson <cjwatson@ubuntu.com>

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD
  2019-03-22 23:54 ` Colin Watson
@ 2019-03-25 13:08   ` Daniel Kiper
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kiper @ 2019-03-25 13:08 UTC (permalink / raw)
  To: Colin Watson, phcoder; +Cc: The development of GNU GRUB

On Fri, Mar 22, 2019 at 11:54:45PM +0000, Colin Watson wrote:
> Ah, this explains some strangeness I was seeing.  Thanks.
>
> Reviewed-by: Colin Watson <cjwatson@ubuntu.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-25 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 16:31 [PATCH] kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD Vladimir 'phcoder' Serbinenko
2019-03-22 23:54 ` Colin Watson
2019-03-25 13:08   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.