Removed compiler warning - Implicit Declaration 68/33168/1
authorAnkur <ankur29.garg@samsung.com>
Tue, 6 Jan 2015 12:32:32 +0000 (18:02 +0530)
committerAnkur <ankur29.garg@samsung.com>
Tue, 6 Jan 2015 12:32:37 +0000 (18:02 +0530)
-Already removed this warning from accelerometer.c earlier
-Seems another change was done on a previous revision, causing the same warning to pop up.
-rotation_vector.c did not have this warning before.

Change-Id: I65372477168185d070ca9a919fd804b53441a156

test/src/accelerometer.c
test/src/rotation_vector.c

index fe61f37..30be9f0 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdbool.h>
 #include <sensor_common.h>
 #include <unistd.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 093b828..be9adef 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdbool.h>
 #include <sensor_common.h>
 #include <unistd.h>
+#include <string.h>
 
 static GMainLoop *mainloop;