diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-13 18:49:25 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-13 18:49:25 +0000 |
commit | 5d9698f84138685a3db4612621e0b807f3f9951a (patch) | |
tree | fc63dd8c0e09466e96d966a2c8424fc1ca0d848a /base | |
parent | b579372db4dd0d1b29d7ff3aef45a19ba5ea1c29 (diff) | |
download | chromium_src-5d9698f84138685a3db4612621e0b807f3f9951a.zip chromium_src-5d9698f84138685a3db4612621e0b807f3f9951a.tar.gz chromium_src-5d9698f84138685a3db4612621e0b807f3f9951a.tar.bz2 |
Include sys/types.h for ssize_t. This fixes compliation with gcc-4.3.
Patch contributed by Joel Stanley
R=deanm
Review URL: http://codereview.chromium.org/125097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/unix_domain_socket_posix.cc | 1 | ||||
-rw-r--r-- | base/unix_domain_socket_posix.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/base/unix_domain_socket_posix.cc b/base/unix_domain_socket_posix.cc index 8d53d2a..55cb186 100644 --- a/base/unix_domain_socket_posix.cc +++ b/base/unix_domain_socket_posix.cc @@ -6,7 +6,6 @@ #include <unistd.h> #include <sys/uio.h> -#include <sys/types.h> #include <sys/socket.h> #include "base/eintr_wrapper.h" diff --git a/base/unix_domain_socket_posix.h b/base/unix_domain_socket_posix.h index 46c473a..c0b40e8 100644 --- a/base/unix_domain_socket_posix.h +++ b/base/unix_domain_socket_posix.h @@ -5,6 +5,7 @@ #ifndef BASE_UNIX_DOMAIN_SOCKET_POSIX_H_ #define BASE_UNIX_DOMAIN_SOCKET_POSIX_H_ +#include <sys/types.h> #include <vector> namespace base { |