Children's apparel retailer Carter's Inc's subsidiary The William Carter Company has signed a definitive agreement to acquire OshKosh B'Gosh, which markets children's clothing and accessories.