adding endif in sdn.h