[flashrom] [commit] r1026 - trunk

repository service svn at flashrom.org
Thu Jun 3 02:49:50 CEST 2010


Author: hailfinger
Date: Thu Jun  3 02:49:50 2010
New Revision: 1026
URL: http://flashrom.org/trac/coreboot/changeset/1026

Log:
Fix fallout from r1021 which caused compile failures if only the dummy
programmer was selected.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Modified:
   trunk/flash.h

Modified: trunk/flash.h
==============================================================================
--- trunk/flash.h	Tue Jun  1 18:09:06 2010	(r1025)
+++ trunk/flash.h	Thu Jun  3 02:49:50 2010	(r1026)
@@ -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 {




More information about the flashrom mailing list