Commit fbfcb24f authored by Kenton Varda's avatar Kenton Varda

Make sure kj/common.h always gets included first.

parent 6fae8ce9
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#error "This header is only meant to be included by Cap'n Proto's own source code." #error "This header is only meant to be included by Cap'n Proto's own source code."
#endif #endif
#include <unordered_map>
#include <kj/common.h> #include <kj/common.h>
#include <kj/mutex.h> #include <kj/mutex.h>
#include <kj/exception.h> #include <kj/exception.h>
...@@ -38,6 +37,7 @@ ...@@ -38,6 +37,7 @@
#include "common.h" #include "common.h"
#include "message.h" #include "message.h"
#include "layout.h" #include "layout.h"
#include <unordered_map>
#if !CAPNP_LITE #if !CAPNP_LITE
#include "capability.h" #include "capability.h"
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#pragma GCC system_header #pragma GCC system_header
#endif #endif
#include <iostream>
#include "../io.h" #include "../io.h"
#include <iostream>
namespace kj { namespace kj {
namespace std { namespace std {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment