windows.h and friends now live in /usr/include/w32api/ and not
/usr/include/. Just add -I/usr/include/w32api.
--Chuck
Norman Vine wrote:
> I do not think that this is the same problem
> Hopefully this dumb example will illustrate my point better
>
> Cheers
>
> Norman Vine
>
> /* jnk.c -- -mwin32 switch test
> $ gcc -DWIN32 jnk.c
> jnk.c:1: windows.h: No such file or directory
>
> $ gcc -mwindows jnk.c
> jnk.c:1: windows.h: No such file or directory
>
> $ gcc -mwin32 jnk.c
> $ a
> A dumb test
> */
>
> #include <windows.h>
>
> int main(int argc, char **argv)
> {
> printf("A dumb test\n");
> return 0;
> }