For general software development jobs, you should read up on brain teasers and understanding the basics of probability and counting (not the 1,2,3,4... kind!). Other than that, most programming interviews are more focused on how well you know concepts and how you go about solving problems as opposed to specific math concepts.
Nonetheless, certain types of programming jobs require you to have a solid math foundation. For example, if you're going to be doing game or graphics programming, then you need to know linear algebra very, very well. Jobs in cryptography, high performance computing, and fields like that all require a solid math background in specific areas (graph theory, etc).
Lastly, if you find your interviewer asking you lots of technical math questions and you're not sure about most of them, odds are that the job requires far more math than you think. Usually these positions make it very obvious that you need a specific background, so watch out for those.
For general programming jobs though, you won't need to know lots of math in depth. Know probability, basic number theory, some geometry, understand some concepts in graph theory, and you should be good to go.