summaryrefslogtreecommitdiff
path: root/tools/img2srec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/img2srec.c')
-rw-r--r--tools/img2srec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/img2srec.c b/tools/img2srec.c
index b04abbd..f10379f 100644
--- a/tools/img2srec.c
+++ b/tools/img2srec.c
@@ -52,6 +52,7 @@
| INCLUDES
|*************************************************************************/
+#include "os_support.h"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@@ -61,8 +62,6 @@
#include <unistd.h>
#include <errno.h>
-extern int errno;
-
/*************************************************************************
| DEFINES
|*************************************************************************/