typedef fix (problem with gcc)