summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 56d9e4b..5fb743d 100644
--- a/flash.h
+++ b/flash.h
@@ -260,6 +260,9 @@ void tolower_string(char *str);
#ifdef __MINGW32__
char* strtok_r(char *str, const char *delim, char **nextp);
#endif
+#if defined(__DJGPP__)
+size_t strnlen(const char *str, size_t n);
+#endif
/* flashrom.c */
extern const char flashrom_version[];
OpenPOWER on IntegriCloud