added ifdefs in headers.

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>