diff --git a/libs/pbd3/transmitter.cc b/libs/pbd3/transmitter.cc index 46f6639eb9..876a9d86e5 100644 --- a/libs/pbd3/transmitter.cc +++ b/libs/pbd3/transmitter.cc @@ -24,12 +24,12 @@ #include #include +#include using std::string; using std::ios; Transmitter::Transmitter (Channel c) - { channel = c; switch (c) { @@ -110,7 +110,6 @@ extern "C" { void pbd_c_error (const char *str) { - extern Transmitter error; - error << str << endmsg; + PBD::error << str << endmsg; } }