Fix not add #endif

Change-Id: I890c709c8391112f1c89650a6783ffeb9e3a1127