#include <getopt.h>
#include <vector>
+#ifdef ENABLE_GSTREAMERMM
#include <gstreamermm.h>
+#include <libsigrokflow/libsigrokflow.hpp>
+#endif
#include <libsigrokcxx/libsigrokcxx.hpp>
bool do_scan = true;
bool show_version = false;
+#ifdef ENABLE_GSTREAMERMM
// Initialise gstreamermm. Must be called before any other GLib stuff.
Gst::init();
+#endif
Application a(argc, argv);