> Unfortunately when calling make, it stops compiling due to missing
> headers (here sys/wait.h for savewd.c).
> When searching my disk I recognized that these headers are already
> present in the CygWin installation under /usr/include.
> Searched the web for how to add /usr/include as an additional include
> dir, but failed.

You may achieve this by adding the Windows name of this directory, usually 
something like C:/cygwin/include, to the include list with the -I option. 
However, you will almost certainly run into trouble later on, either in the 
compiling stage or in the linking stage (when the linker cannot find some 
functions). You had better guard the including of these heanders with an 
#ifdef HAVE_SYS_WAIT_H, and either change the code which uses functions from 
these headers to an MS-Windows equivalent or guard it also with an #ifdef.

Kees Zeelenberg
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to