Depend on river.h