From 7e408c02d5cd94b7363403ef8b6f2c186c13718e Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Wed, 16 Jun 2010 19:57:33 +0200 Subject: CWS systemlibc: #i69033#: some fixes for Windows --- idlc/source/preproc/makefile.mk | 4 ++++ idlc/source/preproc/unix.c | 1 + 2 files changed, 5 insertions(+) (limited to 'idlc') diff --git a/idlc/source/preproc/makefile.mk b/idlc/source/preproc/makefile.mk index f65f37e94..b87d60d0d 100644 --- a/idlc/source/preproc/makefile.mk +++ b/idlc/source/preproc/makefile.mk @@ -63,6 +63,10 @@ APP1OBJS=$(OBJ)$/cpp.obj APP1LIBS= $(LB)$/idlcpp.lib +.IF "$(GUI)" == "WNT" +APP1STDLIBS=gnu_getopt.lib +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/idlc/source/preproc/unix.c b/idlc/source/preproc/unix.c index 215161ec9..922b2a320 100644 --- a/idlc/source/preproc/unix.c +++ b/idlc/source/preproc/unix.c @@ -33,6 +33,7 @@ #if (defined(_WIN32) || defined(_MSDOS) || defined(__IBMC__)) #include #include +#include #else #include #endif -- cgit v1.2.3