Add missing \n
move defines into the proper header