aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-12-09 16:20:35 +0900
committerKoichi Sasada <ko1@atdot.net>2019-12-11 11:24:42 +0900
commit943f3e5fd463bf2a4a3a4e92b5134e238b9c931d (patch)
tree9a094f38ed05f92357116464b89d707ca890aae0 /builtin.h
parent69aa927a40618591082085fe04c010d516dd50d3 (diff)
downloadruby-943f3e5fd463bf2a4a3a4e92b5134e238b9c931d.tar.gz
add include guard
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index a31d88b073..0d2b13e290 100644
--- a/builtin.h
+++ b/builtin.h
@@ -1,3 +1,6 @@
+#ifndef BUILTIN_H_INCLUDED
+#define BUILTIN_H_INCLUDED
+
// invoke
struct rb_builtin_function {
@@ -66,3 +69,5 @@ struct builtin_binary {
const unsigned char *bin; // binary by ISeq#to_binary
size_t bin_size;
};
+
+#endif // BUILTIN_H_INCLUDED