fix building with gcc-2.95
Brought to you by:
tjmather
this is probably a duplicate of bug: 2807144, however, I was not able there to find a upload button for the patch. Some of the OpenBSD platforms still ship with gcc-2.95, and the proposed solution to use the CFLAGS switch doesn't work, the gcc there tells me its an invalid parameter.
I changed the header file to not use a unnamed union, and added the other files referencing to it, to use the changed struct.
proposed patch to get rid of unnamed union
Hi there,
unfortunately the unnamed union has a reason. Your change require that all 3party applications need code change. Thats not desired right now.
The best would be if bsd people use just metro_code and remove the whole unamed union ( and dma_code ). in falvor of int metro_code;