DS18B20 sensor error

IDE Arduino 1.6.0 - Board: Intel Galileo Gen 2

I'm trying to use the temperature sensor but I'm receiving these errors:
" C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:108:2: error: #error "Please define I/O register types here"

C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:115:5: error: 'IO_REG_TYPE' does not name a type

C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:116:14: error: 'IO_REG_TYPE' does not name a type

Erro compilando."

The code and libraries that I'm using is from this site:
https://create.arduino.cc/projecthub/TheGadgetBoy/ds18b20-digital-temperature-sensor-and-arduino-9cc806

Please post your sketch so we can see. I suspect you don't have the proper #include for the OneWire and DallasTemperature libraries.

Brian