a1e5088
From a03c6656f46d44d48229571bde54f6c2e1192380 Mon Sep 17 00:00:00 2001
a1e5088
From: Peter Lemenkov <lemenkov@gmail.com>
a1e5088
Date: Sat, 18 Sep 2010 09:05:43 +0400
a1e5088
Subject: [PATCH 05/12] Use macros from config.h instead of HAVE_UTSNAME
a1e5088
a1e5088
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
a1e5088
---
a1e5088
 flashrom.c |    4 ++--
a1e5088
 1 files changed, 2 insertions(+), 2 deletions(-)
a1e5088
a1e5088
diff --git a/flashrom.c b/flashrom.c
a1e5088
index df4cc67..b9285a3 100644
a1e5088
--- a/flashrom.c
a1e5088
+++ b/flashrom.c
a1e5088
@@ -33,7 +33,7 @@
a1e5088
 
a1e5088
 #include "config.h"
a1e5088
 
a1e5088
-#if HAVE_UTSNAME == 1
a1e5088
+#if HAVE_SYS_UTSNAME_H == 1
a1e5088
 #include <sys/utsname.h>
a1e5088
 #endif
a1e5088
 #include "flash.h"
a1e5088
@@ -1378,7 +1378,7 @@ void list_programmers_linebreak(int startcol, int cols, int paren)
a1e5088
 
a1e5088
 void print_sysinfo(void)
a1e5088
 {
a1e5088
-#if HAVE_UTSNAME == 1
a1e5088
+#if HAVE_UNAME == 1
a1e5088
 	struct utsname osinfo;
a1e5088
 	uname(&osinfo);
a1e5088
 
a1e5088
-- 
a1e5088
1.7.3.1
a1e5088