Does minor swelling of the brain make you have a headache?

Yes. Along with headache, you would expect confusion and other behavioral abnormalities. Any amount of brain swelling is serious and should be evaluated by a competent doctor immediately.
Headache. Swelling of the brain however small can and usually does cause headaches.