summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flash.h5
1 files changed, 1 insertions, 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 {
OpenPOWER on IntegriCloud