summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-24 19:11:47 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-31 13:05:13 (GMT)
commita63aaaed051a51592f9ddc738febd58a4d99928a (patch)
tree30e33cf9d8c368da2ef0aba39266810725d0374c /Utilities/cmlibuv/src
parent9130b53a5e949da07e10414e13b79d7abad2b4fa (diff)
downloadCMake-a63aaaed051a51592f9ddc738febd58a4d99928a.zip
CMake-a63aaaed051a51592f9ddc738febd58a4d99928a.tar.gz
CMake-a63aaaed051a51592f9ddc738febd58a4d99928a.tar.bz2
libuv: Always include our own header first
Diffstat (limited to 'Utilities/cmlibuv/src')
-rw-r--r--Utilities/cmlibuv/src/inet.c6
-rw-r--r--Utilities/cmlibuv/src/unix/getnameinfo.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/Utilities/cmlibuv/src/inet.c b/Utilities/cmlibuv/src/inet.c
index da63a68..7c75e43 100644
--- a/Utilities/cmlibuv/src/inet.c
+++ b/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
diff --git a/Utilities/cmlibuv/src/unix/getnameinfo.c b/Utilities/cmlibuv/src/unix/getnameinfo.c
index daa798a..b2879d6 100644
--- a/Utilities/cmlibuv/src/unix/getnameinfo.c
+++ b/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;