summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/bluetooth
diff options
context:
space:
mode:
authorshenhan@google.com <shenhan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-16 19:26:07 +0000
committershenhan@google.com <shenhan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-16 19:26:07 +0000
commit078c1a76baae834c294eca7addfe202d9d40618b (patch)
treee198c9bd81bf3e053452d6fbe2304f76712f3d6e /chrome/browser/chromeos/bluetooth
parent106ae2f289fb69ba1acaf034b0017adf3df23c2e (diff)
downloadchromium_src-078c1a76baae834c294eca7addfe202d9d40618b.zip
chromium_src-078c1a76baae834c294eca7addfe202d9d40618b.tar.gz
chromium_src-078c1a76baae834c294eca7addfe202d9d40618b.tar.bz2
Fix gcc 4.7 building problems.
Fixes include - - added static_cast for narrowing conversion in initiliazation lists; - added explicit <unistd.h> inclusion BUG=None TEST=Built with GCC-4.7 under linux Review URL: https://chromiumcodereview.appspot.com/10758012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/bluetooth')
-rw-r--r--chrome/browser/chromeos/bluetooth/bluetooth_socket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc b/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
index f6c2945..62806e0 100644
--- a/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
+++ b/chrome/browser/chromeos/bluetooth/bluetooth_socket.cc
@@ -12,6 +12,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <string.h>
+#include <unistd.h>
#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h"
#include "chrome/browser/chromeos/bluetooth/bluetooth_utils.h"