Fix define adapter.h