pkg/tinydtls: fix for arm-none-eabi newlib 2.4.x

This commit is contained in:
smlng 2018-02-08 15:18:32 +01:00
parent bba457290e
commit 16d3225da0

View File

@ -5,6 +5,9 @@ PKG_VERSION=eb6f017ab451bb6cc4428b3e449955a76aeeba19
PKG_LICENSE=EPL-1.0,EDL-1.0
CFLAGS += -Wno-implicit-fallthrough
# following is require due to known issue with newlib 2.4.x, see bug report:
# http://lists-archives.com/cygwin/97008-gettimeofday-not-defined.html
CFLAGS += -D_XOPEN_SOURCE=600
.PHONY: all