From: Uwe Hermann Date: Fri, 31 Oct 2014 17:49:23 +0000 (+0100) Subject: Add missing #includes. X-Git-Tag: pulseview-0.3.0~528 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=61d64fe9f5f52589200d943a226c984097272649;p=pulseview.git Add missing #includes. Some compilers throw warnings/errors otherwise: error: no member named 'abs' in namespace 'std'; did you mean '::abs'?" --- diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index b141c38a..c45e455b 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -19,6 +19,7 @@ */ #include +#include #include "view.h" #include "viewport.h" diff --git a/pv/widgets/sweeptimingwidget.cpp b/pv/widgets/sweeptimingwidget.cpp index 7a734a13..685523ab 100644 --- a/pv/widgets/sweeptimingwidget.cpp +++ b/pv/widgets/sweeptimingwidget.cpp @@ -20,6 +20,8 @@ #include "sweeptimingwidget.h" +#include + #include #include