Added some C imports for C++