From 9df1b7fb4cff1734bff49863d5d5e8df80ed9b44 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sat, 18 Sep 2010 09:05:43 +0400 Subject: [PATCH 05/10] 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 df755c8..c4cc406 100644 --- a/flashrom.c +++ b/flashrom.c @@ -34,7 +34,7 @@ #include "config.h" -#if HAVE_UTSNAME == 1 +#if HAVE_SYS_UTSNAME_H == 1 #include #endif #include "flash.h" @@ -1639,7 +1639,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.6