summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/errno.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/errno.h b/newlib/libc/include/errno.h
index 8584a639b..81eaef710 100644
--- a/newlib/libc/include/errno.h
+++ b/newlib/libc/include/errno.h
@@ -1,3 +1,8 @@
+#ifndef __ERRNO_H__
+#define __ERRNO_H__
+
typedef int error_t;
#include <sys/errno.h>
+
+#endif /* !__ERRNO_H__ */