From 9ca9df3d922deba96a7fcda5bff49495cf475631 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 21 Jul 2007 14:33:54 +0000 Subject: [PATCH] - adds missing include - test(1) doesn't understand == on Solaris, but = seems to be equivalent Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@461 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- Makefile | 2 +- util/lar/lib.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 239289b173..8b0be7d95e 100644 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ prepare2: $(Q)printf "#define LINUXBIOS_COMPILE_TIME \"`LANG= date +%T`\"\n" >> $(obj)/build.h $(Q)printf "#define LINUXBIOS_COMPILE_BY \"$(shell PATH=$$PATH:/usr/ucb whoami)\"\n" >> $(obj)/build.h $(Q)printf "#define LINUXBIOS_COMPILE_HOST \"$(shell hostname)\"\n" >> $(obj)/build.h - $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s` == "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h + $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s` = "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h clean: $(Q)printf " CLEAN $(subst $(shell pwd)/,,$(obj))\n" diff --git a/util/lar/lib.c b/util/lar/lib.c index c5bab43657..72d29a6529 100644 --- a/util/lar/lib.c +++ b/util/lar/lib.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include