Index: mojo/public/c/system/tests/compile_unittest_pure_c.c |
diff --git a/mojo/public/c/system/tests/compile_unittest_pure_c.c b/mojo/public/c/system/tests/compile_unittest_pure_c.c |
index 135261a996ef65e49765eebb57cddb6244e30843..c4a46c4f5d167a108927843ac52b973b43ef2b48 100644 |
--- a/mojo/public/c/system/tests/compile_unittest_pure_c.c |
+++ b/mojo/public/c/system/tests/compile_unittest_pure_c.c |
@@ -6,6 +6,8 @@ |
#error "This file should be compiled as C, not C++." |
#endif |
+// Include all the header files that are meant to be compilable as C. |
+#include <mojo/macros.h> |
#include <stddef.h> |
#include <string.h> |
@@ -15,7 +17,6 @@ |
#include "mojo/public/c/system/buffer.h" |
#include "mojo/public/c/system/data_pipe.h" |
#include "mojo/public/c/system/handle.h" |
-#include "mojo/public/c/system/macros.h" |
#include "mojo/public/c/system/main.h" |
#include "mojo/public/c/system/message_pipe.h" |
#include "mojo/public/c/system/result.h" |