Hi,
so the problem was not in my code but rather in the dallastemperature.cpp file.
What you have to do is open this file, and replace
extern "C" {
#include "WConstants.h"
}
with this
extern "C" {
#include "Arduino.h"
}
Thanks for your support everyone!
Christoph