Add ifdef guard to ni c file.