Anorexia can also include vomiting.
Difference is, when you have anorexia it is usually visible after a while due to weight loss and other physical changes, with people that have boulimia you can't always tell, they can look healthy but still have boulimia.