X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=test%2Fview%2Fruler.cpp;h=4a4eac8f34d5822cacec1b622c4fe8c8f9f047bc;hb=9a35b05d2f2e5329f1ecaddb04289d4adeea2752;hp=5cef38d5ce20211c1ca8e329ca8e05f0a62629a1;hpb=2543cd4e271ff13898080d011a8fdbc13da77655;p=pulseview.git
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"