aboutsummaryrefslogtreecommitdiffstats
path: root/ports/AVR
diff options
context:
space:
mode:
Diffstat (limited to 'ports/AVR')
-rw-r--r--ports/AVR/chtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/AVR/chtypes.h b/ports/AVR/chtypes.h
index 6e08d93f1..2cd9c681c 100644
--- a/ports/AVR/chtypes.h
+++ b/ports/AVR/chtypes.h
@@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
+#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)