Index: ipc/ipc_channel.h |
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h |
index 58fc0697546a9682c15fa3a6789628fa252290f7..20c61f11580f26d6542e2de9ef5d97ce847745f2 100644 |
--- a/ipc/ipc_channel.h |
+++ b/ipc/ipc_channel.h |
@@ -5,21 +5,23 @@ |
#ifndef IPC_IPC_CHANNEL_H_ |
#define IPC_IPC_CHANNEL_H_ |
+#include <stddef.h> |
#include <stdint.h> |
#include <string> |
-#if defined(OS_POSIX) |
-#include <sys/types.h> |
-#endif |
- |
#include "base/compiler_specific.h" |
#include "base/files/scoped_file.h" |
#include "base/process/process.h" |
+#include "build/build_config.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_endpoint.h" |
#include "ipc/ipc_message.h" |
+#if defined(OS_POSIX) |
+#include <sys/types.h> |
+#endif |
+ |
namespace IPC { |
class Listener; |
@@ -73,7 +75,7 @@ class IPC_EXPORT Channel : public Endpoint { |
}; |
// Messages internal to the IPC implementation are defined here. |
- // Uses Maximum value of message type (uint16), to avoid conflicting |
+ // Uses Maximum value of message type (uint16_t), to avoid conflicting |
// with normal message types, which are enumeration constants starting from 0. |
enum { |
// The Hello message is sent by the peer when the channel is connected. |