backports: add header file for function memcmp