You can't just put a single civilian in every military base and be protected by international law. Collateral damage isn't necessarily a war crime.
An Hospital, Red Cross camp, and other zones are not military bases.