X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=test%2Fview%2Fruler.cpp;fp=test%2Fview%2Fruler.cpp;h=4a4eac8f34d5822cacec1b622c4fe8c8f9f047bc;hp=5cef38d5ce20211c1ca8e329ca8e05f0a62629a1;hb=941f20d1b75042b1c3f0b83a1e9d1acec5d231ef;hpb=b409dfdc01ed36b54f5b8a70b3738146a26bf37e
diff --git a/test/view/ruler.cpp b/test/view/ruler.cpp
index 5cef38d5..4a4eac8f 100644
--- a/test/view/ruler.cpp
+++ b/test/view/ruler.cpp
@@ -17,7 +17,12 @@
* along with this program; if not, see .
*/
+#include
+#if BOOST_VERSION >= 107100 // 1.71 deprecated the old header location.
+#include
+#else
#include
+#endif
#include
#include "pv/views/trace/ruler.hpp"