Building materials supplier Boral has agreed to buy US firm Headwaters Incorporated for around $US2.6 billion ($A3.5 billion), which Boral says will more than double its US business and help accelerate development of its light building products platform.