check_cam : added a missing include file.
authorjinhyung.jo <jinhyung.jo@samsung.com>
Mon, 5 Aug 2013 03:18:41 +0000 (12:18 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Mon, 5 Aug 2013 03:18:41 +0000 (12:18 +0900)
For removing a compiler warning on Linux.

Change-Id: I8cb767e5b63feeace570179598e5cc7c9b360e5f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
tizen/src/check_cam.c

index 08465276513c22fceae441f3aa3afb0ae0a62be8..90a24a3b2043d5dce64ad338dbe1161506a7c884 100644 (file)
  *
  */
 
+#include <stdio.h>
+
 #ifdef _WIN32
 /* Windows implement */
-#include <stdio.h>
 #include <windows.h>
 #define CINTERFACE
 #define COBJMACROS
@@ -183,7 +184,7 @@ static int check_cam(void)
 #elif __linux
 
 /* Linux implement */
-#include <stdio.h>
+#include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -237,6 +238,7 @@ static int check_cam(void)
 /* MacOS, Now, not implemented. */
 static int check_cam(void)
 {
+    fprintf(stdout, "[Webcam] Not implemented.\n");
     return 1;
 }