summaryrefslogtreecommitdiff
path: root/include/ruby/backward/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/backward/util.h')
-rw-r--r--include/ruby/backward/util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ruby/backward/util.h b/include/ruby/backward/util.h
index 11d32a2da8..1974fedbb5 100644
--- a/include/ruby/backward/util.h
+++ b/include/ruby/backward/util.h
@@ -1,6 +1,18 @@
+#ifndef RUBY_BACKWARD_UTIL_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY_BACKWARD_UTIL_H
+/**
+ * @file
+ * @author Ruby developers <ruby-core@ruby-lang.org>
+ * @copyright This file is a part of the programming language Ruby.
+ * Permission is hereby granted, to either redistribute and/or
+ * modify this file, provided that the conditions mentioned in the
+ * file COPYING are met. Consult the file for details.
+ */
#if defined __GNUC__
#warning use "ruby/util.h" instead of bare "util.h"
#elif defined _MSC_VER
#pragma message("warning: use \"ruby/util.h\" instead of bare \"util.h\"")
#endif
#include "ruby/util.h"
+
+#endif /* RUBY_BACKWARD_UTIL_H */