From dd128c97931afd41bf0c34020bee742f3b7a0237 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Date: Thu, 3 Jun 2010 00:49:50 +0000 Subject: [PATCH] Fix fallout from r1021 which caused compile failures if only the dummy programmer was selected Corresponding to flashrom svn r1026. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> --- flash.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/flash.h b/flash.h index 7f28186..3b60173 100644 --- a/flash.h +++ b/flash.h @@ -25,6 +25,7 @@ #define __FLASH_H__ 1 #include <stdint.h> +#include <stddef.h> #include "hwaccess.h" #ifdef _WIN32 #include <windows.h> @@ -32,10 +33,6 @@ #undef max #endif -#ifndef NULL -#define NULL ((void *) 0) -#endif - typedef unsigned long chipaddr; enum programmer { -- GitLab