I think "hardware/structs/sio.h" needs to be included in multicore.h so that the sio_hw variable is defined