Ver Fonte

libuv: Always include our own header first

Brad King há 9 anos atrás
pai
commit
a63aaaed05

+ 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;