I generally find that a bunker and a decent wall/sim city in my natural helps a lot, simply because it can delay the push until you have a banshee out. Once the banshee is out, it's just a matter of running SCVs around, hellion micro, and repairing. Unfortunately, you will probably lose a lot of mining time, but that's kind of a trade off with the drones your opponent loses because of the amount of units that they made.
If I scout an all in which is roach heavy, I will usually cancel the hellions building in my factory, lift it off and tech lab it, and try to rush a tank out. Usually it doesn't arrive before the rush, but when it comes out, it can minimize the damage well if you keep it on the high ground.
Also in response to this problem, I started dropping my second depot and my first gas before my expansion, just to force a few more units out faster. It may hurt your economy a touch, but I generally have a few more marines, a couple more hellions and a faster banshee by doing this, and it helps me hold a lot of all ins a lot easier.
.
this is wrong on so many ******* levels do not do this.
Even the smallest donations help keep sc2sea running! All donations go towards helping our site run including our monthly server hosting fees and sc2sea sponsored community tournaments we host. Find out more here.