Index: net/socket/socket.h |
diff --git a/net/socket/socket.h b/net/socket/socket.h |
index 5d9af81f20588d6e421b78c7598aa16755f9b1e8..cda54063f3059e76726c896b5e6ae87508a5f483 100644 |
--- a/net/socket/socket.h |
+++ b/net/socket/socket.h |
@@ -5,6 +5,8 @@ |
#ifndef NET_SOCKET_SOCKET_H_ |
#define NET_SOCKET_SOCKET_H_ |
+#include <stdint.h> |
+ |
#include "net/base/completion_callback.h" |
#include "net/base/net_export.h" |
@@ -49,12 +51,12 @@ class NET_EXPORT Socket { |
// Set the receive buffer size (in bytes) for the socket. |
// Note: changing this value can affect the TCP window size on some platforms. |
// Returns a net error code. |
- virtual int SetReceiveBufferSize(int32 size) = 0; |
+ virtual int SetReceiveBufferSize(int32_t size) = 0; |
// Set the send buffer size (in bytes) for the socket. |
// Note: changing this value can affect the TCP window size on some platforms. |
// Returns a net error code. |
- virtual int SetSendBufferSize(int32 size) = 0; |
+ virtual int SetSendBufferSize(int32_t size) = 0; |
}; |
} // namespace net |