The present invention relates to compounds that are antagonists of the orexin-1 receptor. The compounds have the structural formula (I) defined herein. The present invention also relates to processes for the preparation of these compounds, to pharmaceutical compositions comprising them, and to their use in the treatment of diseases or disorders associated with orexin-1 receptor activity.