Fix compilation for Desktop
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 22 Oct 2013 21:21:06 +0000 (19:21 -0200)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 22 Oct 2013 21:21:06 +0000 (19:21 -0200)
Bookmark is implemented for Mobile only and the function access() is
defined in unistd.h.

system_info/system_info_utils.h
tizen-wrt.gyp

index ca6bf71..944b704 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <libudev.h>
 #include <pthread.h>
+#include <unistd.h>
 
 #include <list>
 #include <string>
index f0e63b7..333b6af 100644 (file)
@@ -9,7 +9,6 @@
       'type': 'none',
       'dependencies': [
         'bluetooth/bluetooth.gyp:*',
-        'bookmark/bookmark.gyp:*',
         'filesystem/filesystem.gyp:*',
         'network_bearer_selection/network_bearer_selection.gyp:*',
         'notification/notification.gyp:*',
@@ -23,6 +22,7 @@
         [ 'extension_host_os == "mobile"', {
           'dependencies': [
             'download/download.gyp:*',
+            'bookmark/bookmark.gyp:*',
           ],
         }],
       ],