export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include # Local include for OSX ifeq ($(BUILDOSXNATIVE),1) export NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra endif USEMODULE += periph USEMODULE += periph_uart ifeq ($(shell uname -s),Darwin) export CFLAGS += -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE endif