Well at least he didn't have a ghost writer.
He had an editor, by the name of Max Amann, who was Hitler's superior in World War I. His notable contribution was getting Hitler to change the title of his book. Originally Hitler wanted to title it "Four and a Half Years of Struggle Against Lies, Stupidity and Cowardice."