aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2020-11-06 10:32:46 -0500
committerGitHub <noreply@github.com>2020-11-06 10:32:46 -0500
commit9ef2248b535fafabf6bc18e01e2e8808e2d6e6db (patch)
tree3a76bd26aa38f24e5d05b4936feba6627cef49e2
parent8915c4f9a04e703d5273939f25d8fe08010c2b43 (diff)
downloadamber-9ef2248b535fafabf6bc18e01e2e8808e2d6e6db.tar.gz
Add some missing includes. (#923)
This Cl adds a few missing includes.
-rw-r--r--src/cast_hash.h2
-rw-r--r--src/image.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cast_hash.h b/src/cast_hash.h
index e02c148..4d9d812 100644
--- a/src/cast_hash.h
+++ b/src/cast_hash.h
@@ -15,6 +15,8 @@
#ifndef SRC_CAST_HASH_H_
#define SRC_CAST_HASH_H_
+#include <cstddef>
+
namespace amber {
/// A hash implementation for types that can trivially be up-cast to a size_t.
diff --git a/src/image.h b/src/image.h
index a74c3ac..c6a51a3 100644
--- a/src/image.h
+++ b/src/image.h
@@ -15,6 +15,8 @@
#ifndef SRC_IMAGE_H_
#define SRC_IMAGE_H_
+#include <cstdint>
+
namespace amber {
enum class ImageDimension : int8_t { kUnknown = -1, k1D = 0, k2D = 1, k3D = 2 };