[CONPRO-1473] Fix for build error [-Werror=implicit-function-declaration]
Cherry-picked code changes from
https://github.sec.samsung.net/SES/SmartThingsThing/commit/
cb59d751fc93d9715a514d85c33ee41969f43886
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/
6473747735b2339c92ce01ff58d7c0b9dcad343e
(cherry-picked from
6473747735b2339c92ce01ff58d7c0b9dcad343e)
Change-Id: Idb186e07ece03a6a13f44830be125bd7ce16a51a
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>