1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

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>
This commit is contained in:
Carl-Daniel Hailfinger 2010-06-03 00:49:50 +00:00
parent 2ead2e225b
commit dd128c9793

View File

@ -25,6 +25,7 @@
#define __FLASH_H__ 1 #define __FLASH_H__ 1
#include <stdint.h> #include <stdint.h>
#include <stddef.h>
#include "hwaccess.h" #include "hwaccess.h"
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
@ -32,10 +33,6 @@
#undef max #undef max
#endif #endif
#ifndef NULL
#define NULL ((void *) 0)
#endif
typedef unsigned long chipaddr; typedef unsigned long chipaddr;
enum programmer { enum programmer {