فهرست منبع

libuv: Always include our own header first

Brad King 9 سال پیش
والد
کامیت
a63aaaed05
2فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 3 3
      Utilities/cmlibuv/src/inet.c
  2. 3 3
      Utilities/cmlibuv/src/unix/getnameinfo.c

+ 3 - 3
Utilities/cmlibuv/src/inet.c

@@ -15,6 +15,9 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "uv.h"
+#include "uv-common.h"
+
 #include <stdio.h>
 #include <string.h>
 
@@ -24,9 +27,6 @@
 # include <stdint.h>
 #endif
 
-#include "uv.h"
-#include "uv-common.h"
-
 #define UV__INET_ADDRSTRLEN         16
 #define UV__INET6_ADDRSTRLEN        46
 

+ 3 - 3
Utilities/cmlibuv/src/unix/getnameinfo.c

@@ -19,14 +19,14 @@
 * IN THE SOFTWARE.
 */
 
+#include "uv.h"
+#include "internal.h"
+
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 
-#include "uv.h"
-#include "internal.h"
-
 
 static void uv__getnameinfo_work(struct uv__work* w) {
   uv_getnameinfo_t* req;