examples/hashsmt/sha1_inversion: Fix includes for newer Boost version. (#2534)
authorAina Niemetz <aina.niemetz@gmail.com>
Wed, 26 Sep 2018 00:07:00 +0000 (17:07 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Sep 2018 00:07:00 +0000 (17:07 -0700)
examples/hashsmt/sha1_inversion.cpp

index 652fc4e5be023f5868e7bb7af5eba9dab156f933..ef5191cb7c7ead54a550ec31faf7058053f11750 100644 (file)
  *      Author: dejan
  */
 
+#include <boost/version.hpp>
+#if BOOST_VERSION > 106700
+#include <boost/uuid/detail/sha1.hpp>
+#else
 #include <boost/uuid/sha1.hpp>
+#endif
+
 #include <fstream>
 #include <iostream>
 #include <sstream>