alloc: fix missing header in compilation of example.