sorry for wasting your time, my code example was incomplete.
The angle brackets around the library names in the include statements make the rest of the line disappear
in this textbox if not using the "preformatted text" option.
#include <Bridge.h> became #include in my code sample above.
#include <Bridge.h> causes the compile error.
Meanwhile I think I got a solution, it seems to be a matter of the order of including the libraries.
This order results in a compile error.
Include Bridge after UbidotsYUN library and it compiles without error.
So this one seems to be solved, just wrote it down in case somebody else runs into the same problem.