If I’m proficient with a bastard sword, does that qualify as being proficient with a martial weapon?

My character is a Kensai, which means he is only proficient with simple weapons, and one martial or exotic weapon of his choice. He has chosen proficiency with the bastard sword.

A bastard sword is about 4 feet in length, making it too large to use in one hand without special training; thus, it is an exotic weapon. A character can use a bastard sword two-handed as a martial weapon.

Upon reaching 8th level, he would like to enter the Student of War prestige class, but that prestige class requires the character to be proficient with two martial weapons.

I can get longsword proficiency with the Arodenite Sword Training combat trait (technically I can get klar and earth breaker proficiencies with the Shoanti Tattoo trait but for the sake of the question let’s say I’m not a Shoanti), but would I have to take a Martial Weapon Proficiency feat to qualify for Student of War?