tapsql: support linux type header