Gobot digispark littlewire

Hi, I'm trying to compile a go program with the gobot framework and support for digispark with littlewire. https://gobot.io/documentation/platforms/digispark/.

export STAGING_DIR="/home/beto/Escritorio/lede/staging_dir"
includepath="/home/beto/Escritorio/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.182"

CGO_ENABLED=1 GOOS=linux GOARCH=mips GOMIPS=softfloat \
CFLAGS=-msoft-float CGO_CFLAGS=-msoft-float CGO_LDFLAGS=-msoft-float \
CC="$STAGING_DIR/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-gcc" \
CXX="$STAGING_DIR/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-g++" \
CGO_CFLAGS="-I$includepath/include/linux/ -I$includepath/include/ -lm" \
go build --ldflags '-linkmode external -extldflags "-static"' -a main.go

the compiler reports

# runtime/cgo
In file included from _cgo_export.c:3:0:
cgo-builtin-prolog:7:33: error: unknown type name 'ptrdiff_t'

I don't know how to fix it