queueutils: use another header for common code