aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew I <matttpt@gmail.com>2012-08-19 22:30:59 -0400
committerPerttu Ahola <celeron55@gmail.com>2012-12-03 19:44:54 +0200
commita47b82904041584da71e8d8489385a322d3de5cb (patch)
tree57ddd6181fed68280cf9610641f4b85bb74d7702
parent07632b7d6996c6d4c3fd47d98b2e6c23544925e8 (diff)
downloadminetest-a47b82904041584da71e8d8489385a322d3de5cb.tar.gz
minetest-a47b82904041584da71e8d8489385a322d3de5cb.tar.bz2
minetest-a47b82904041584da71e8d8489385a322d3de5cb.zip
Add #include guards to base64.h
-rw-r--r--src/base64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base64.h b/src/base64.h
index a29e69687..5f2d6743d 100644
--- a/src/base64.h
+++ b/src/base64.h
@@ -1,5 +1,10 @@
+#ifndef BASE64_HEADER
+#define BASE64_HEADER
+
#include <string>
bool base64_is_valid(std::string const& s);
std::string base64_encode(unsigned char const* , unsigned int len);
std::string base64_decode(std::string const& s);
+
+#endif // BASE64_HEADER \ No newline at end of file