your enum declarations are ok. just move them to the middle of your include file, after '#define' and before '#endif'. p.s. they are not arrays, they are enum declarations. arrays are a different...