[libc] Add implementation of errno and define the other macros of errno.h.

Reviewers: stanshebs, alexbrachet

Subscribers: mgorny, MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D71094
diff --git a/libc/src/CMakeLists.txt b/libc/src/CMakeLists.txt
index 00df588..f9a86af 100644
--- a/libc/src/CMakeLists.txt
+++ b/libc/src/CMakeLists.txt
@@ -1,4 +1,5 @@
-add_subdirectory(string)
+add_subdirectory(errno)
 add_subdirectory(math)
+add_subdirectory(string)
 
 add_subdirectory(__support)