From: Daniel Elstner Date: Fri, 4 Sep 2015 14:02:03 +0000 (+0200) Subject: Build: Fix build with Qt 4 moc X-Git-Tag: pulseview-0.3.0~113 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=2b68d17cabfc1a62a297754d6453fb5e8be0f30c Build: Fix build with Qt 4 moc --- diff --git a/pv/util.hpp b/pv/util.hpp index 5be37903..1cf2fe54 100644 --- a/pv/util.hpp +++ b/pv/util.hpp @@ -23,7 +23,9 @@ #include +#ifndef Q_MOC_RUN #include +#endif #include #include