The following patch broke portability of tools/wrc/wrc.c:
revision 1.18 date: 2002/12/06 19:49:36; author: julliard; state: Exp; lines: +78 -10 Dimitrie O. Paun dpaun@rogers.com Make wrc command line compatible with windres.
1) getopt() is supposed to to come from <unistd.h>, and <getopt.h> is a non-standard header.
2) getopt_long() is non-portable (and does not exist on FreeBSD, for example).
The man page for getopt() clearly shows that, BTW:
#define _GNU_SOURCE #include <getopt.h>
Would you mind fixing this problem?
Thanks, Gerald