Redefinition of typedef is a C11 feature. On older compilers that default to C99, such as clang 3.4.1 supplied with FreeBSD 10, this caused -Wtypedef-redefinition warnings.