summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/binding.cc2
-rw-r--r--src/deno.h1
-rw-r--r--src/from_snapshot.cc2
-rw-r--r--src/main.cc2
-rw-r--r--src/snapshot_creator.cc4
5 files changed, 6 insertions, 5 deletions
diff --git a/src/binding.cc b/src/binding.cc
index d8de138c1..0bbcf8b94 100644
--- a/src/binding.cc
+++ b/src/binding.cc
@@ -28,8 +28,8 @@ IN THE SOFTWARE.
#include "third_party/v8/include/v8.h"
#include "third_party/v8/src/base/logging.h"
-#include "internal.h"
#include "deno.h"
+#include "internal.h"
namespace deno {
diff --git a/src/deno.h b/src/deno.h
index cd9ade42f..605a76456 100644
--- a/src/deno.h
+++ b/src/deno.h
@@ -2,6 +2,7 @@
// All rights reserved. MIT License.
#ifndef DENO_H_
#define DENO_H_
+#include <stddef.h>
// Neither Rust nor Go support calling directly into C++ functions, therefore
// the public interface to libdeno is done in C.
#ifdef __cplusplus
diff --git a/src/from_snapshot.cc b/src/from_snapshot.cc
index 5dd32025a..3aa3bac77 100644
--- a/src/from_snapshot.cc
+++ b/src/from_snapshot.cc
@@ -8,8 +8,8 @@
#include "third_party/v8/include/v8.h"
#include "third_party/v8/src/base/logging.h"
-#include "internal.h"
#include "deno.h"
+#include "internal.h"
#ifdef DENO_MOCK_RUNTIME
#include "snapshot_mock_runtime.cc"
diff --git a/src/main.cc b/src/main.cc
index 0a6d76d34..9596dbddf 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -10,8 +10,8 @@
#include <unistd.h>
#endif
-#include "flatbuffers/flatbuffers.h"
#include "deno.h"
+#include "flatbuffers/flatbuffers.h"
#include "src/msg_generated.h"
#include "third_party/v8/src/base/logging.h"
diff --git a/src/snapshot_creator.cc b/src/snapshot_creator.cc
index 3f4d8c484..cb5caf304 100644
--- a/src/snapshot_creator.cc
+++ b/src/snapshot_creator.cc
@@ -1,9 +1,9 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Hint: --trace_serializer is a useful debugging flag.
-#include "internal.h"
-#include "file_util.h"
#include "deno.h"
+#include "file_util.h"
+#include "internal.h"
#include "third_party/v8/include/v8.h"
#include "third_party/v8/src/base/logging.h"