peter green a écrit : >> It's not that easy in the swi-prolog case. The two headers are included >> in two separate headers, which are then included into the .c file. The >> order cannot be switched around, because the former header includes >> config.h, which is needed for the second header to work at all (IIRC). > Can't you just include <malloc.h> directly from the C file before including > the header that indirectly includes <wchar.h> ? > > Generally standard headers are designed so that once you have included them > once including them again does nothing. >
Well we don't need to find more workarounds as the problem is fixed in the SVN. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]