backported fixes from 256boss
[bootcensus] / src / libc / errno.h
index dd9b14f..a4cf483 100644 (file)
@@ -30,7 +30,12 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #define ENOSPC                 10
 #define EPERM                  11
 #define ENOTDIR                        12
+#define EISDIR                 13
+#define EEXIST                 14
+#define ERANGE                 34
 
 #define EBUG                   127     /* for missing features and known bugs */
 
+int errno;
+
 #endif /* ERRNO_H_ */