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