diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index 8643a1fa4..8d4329130 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -38,6 +38,10 @@ CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c $(CONTIKI_TARGET_SOURCEFILES) CONTIKI_CPU=$(CONTIKI)/cpu/native include $(CONTIKI)/cpu/native/Makefile.native +ifeq ($(HOST_OS),Windows) +CFLAGS += -I/usr/include/ncurses +endif + CURSES_LIBS ?= -lncurses TARGET_LIBFILES += $(CURSES_LIBS)