Add #include guards to base64.h
authorMatthew I <matttpt@gmail.com>
Mon, 20 Aug 2012 02:30:59 +0000 (22:30 -0400)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 3 Dec 2012 17:44:54 +0000 (19:44 +0200)
src/base64.h

index a29e69687774e1b0e6f66bfd5adfae8aa9625e51..5f2d6743d0cef43caf9bc5bc66953acb3b3a4d70 100644 (file)
@@ -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