summaryrefslogtreecommitdiffhomepage
path: root/src/node.h
diff options
context:
space:
mode:
authorkano4 <[email protected]>2013-03-05 23:09:34 +0900
committerkano4 <[email protected]>2013-03-05 23:09:34 +0900
commit4bc43803353560a9b9a54c0d568dd154ab3422fb (patch)
tree09072aeb907d7d00102dcc44f4dc45b459e31dbd /src/node.h
parentfbbe6309fcac83414085905d985f17c3606a0643 (diff)
downloadmruby-4bc43803353560a9b9a54c0d568dd154ab3422fb.tar.gz
mruby-4bc43803353560a9b9a54c0d568dd154ab3422fb.zip
Add include guard in node.h
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 86933c224..e12672bfe 100644
--- a/src/node.h
+++ b/src/node.h
@@ -4,6 +4,9 @@
** See Copyright Notice in mruby.h
*/
+#ifndef NODE_H
+#define NODE_H
+
enum node_type {
NODE_METHOD,
NODE_FBODY,
@@ -105,3 +108,5 @@ enum node_type {
NODE_HEREDOC,
NODE_LAST
};
+
+#endif /* NODE_H */