No me compila en linux
¿Alguien puede arreglarlo / portarlo?
$ gcc -o wiiregion wiiregion.c
wiiregion.c:1:21: error: windows.h: No existe el fichero o el directorio
wiiregion.c:6: error: expected specifier-qualifier-list before 'DWORD'
wiiregion.c:10: warning: excess elements in struct initializer
wiiregion.c:10: warning: (near initialization for 'parche[0]')
wiiregion.c:10: warning: excess elements in struct initializer
wiiregion.c:10: warning: (near initialization for 'parche[0]')
wiiregion.c:10: warning: excess elements in struct initializer
wiiregion.c:10: warning: (near initialization for 'parche[0]')
wiiregion.c:11: warning: excess elements in struct initializer
wiiregion.c:11: warning: (near initialization for 'parche[1]')
wiiregion.c:11: warning: excess elements in struct initializer
wiiregion.c:11: warning: (near initialization for 'parche[1]')
wiiregion.c:11: warning: excess elements in struct initializer
wiiregion.c:11: warning: (near initialization for 'parche[1]')
wiiregion.c: In function 'main':
wiiregion.c:27: error: 'for' loop initial declaration used outside C99 mode
wiiregion.c:27: warning: division by zero
wiiregion.c:28: error: 'struct PARCHE' has no member named 'offset'
wiiregion.c:29: error: 'struct PARCHE' has no member named 'valores'
wiiregion.c:29: error: 'struct PARCHE' has no member named 'nbytes'
wiiregion.c:15: warning: return type of 'main' is not 'int'