diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-06-03 00:49:50 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-06-03 00:49:50 +0000 |
commit | dd128c97931afd41bf0c34020bee742f3b7a0237 (patch) | |
tree | 76dbee778746ab585efaa8da954bb5e71dd516a3 /flash.h | |
parent | 2ead2e225ba0edee146869e1f6b5dd0929896e04 (diff) | |
download | flashrom-dd128c97931afd41bf0c34020bee742f3b7a0237.tar.gz flashrom-dd128c97931afd41bf0c34020bee742f3b7a0237.tar.bz2 flashrom-dd128c97931afd41bf0c34020bee742f3b7a0237.zip |
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>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 { |