Fix build warning on notification sample.
authorKIM JungYong <jyong2.kim@samsung.com>
Tue, 16 May 2017 08:46:21 +0000 (17:46 +0900)
committerUze Choi <uzchoi@samsung.com>
Sat, 20 May 2017 04:13:35 +0000 (04:13 +0000)
strcmp function is used but does not a including header.
in this patch string.h is included.

Change-Id: I37de71e3171c3586982c4173ef3c22864d82092b
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19945
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/examples/linux/notificationprovider.c

index 677b595..b2e9fd3 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "NSProviderInterface.h"
 #include "NSCommon.h"