aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbstub.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdbstub.h b/gdbstub.h
index 3f981f3..e72635d 100644
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -23,6 +23,8 @@
#ifndef _GDBSTUB_H_
#define _GDBSTUB_H_
+#include <stddef.h>
+
/* Enable debug statements (printf) */
#ifndef DEBUG
#define DEBUG 0
@@ -50,10 +52,6 @@
#define EOF (-1)
#endif
-#ifndef NULL
-#define NULL ((void*)0)
-#endif
-
#ifndef ASSERT
#if DEBUG
#define ASSERT(x) { \