summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rfc4251.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfc4251.h b/rfc4251.h
index b2f9658..74bdc34 100644
--- a/rfc4251.h
+++ b/rfc4251.h
@@ -35,6 +35,7 @@
#include <stdexcept>
#include <arpa/inet.h> // ntohl() / htonl()
#include <gmpxx.h>
+#include <boost/operators.hpp>
struct rfc4251byte {
union {
@@ -136,7 +137,7 @@ inline std::ostream & operator<< (std::ostream & os, rfc4251uint64 const & x) {
}
-struct rfc4251string {
+struct rfc4251string : boost::totally_ordered<rfc4251string> {
std::vector<char> value;
rfc4251string () = default;