From f63aada8b6433b73f8de6515f1edc5b8cf416e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 30 Mar 2013 18:11:17 +0100 Subject: [PATCH] ctk-curses: make sure gcc finds ncurses headers on cygwin They are located in /usr/include/ncurses --- platform/native/Makefile.native | 4 ++++ 1 file changed, 4 insertions(+) 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)