merge slhaea.h from upstream