Add imports to fix C99 errors