| Index: chrome/common/nacl_types.h
|
| diff --git a/chrome/common/nacl_types.h b/chrome/common/nacl_types.h
|
| index b61d9eff925e2a72b8c5e8c00bee024fbb3d03e4..3d77e2f706f41e508e8c333039861cf85859bd8d 100644
|
| --- a/chrome/common/nacl_types.h
|
| +++ b/chrome/common/nacl_types.h
|
| @@ -7,6 +7,7 @@
|
| #define CHROME_COMMON_NACL_TYPES_H_
|
| #pragma once
|
|
|
| +#include "base/native_library.h" // for HANDLE and OS_POSIX
|
| #if defined(OS_POSIX)
|
| #include "base/file_descriptor_posix.h"
|
| #endif
|
| @@ -19,7 +20,8 @@ namespace nacl {
|
| inline HANDLE ToNativeHandle(const FileDescriptor& desc) {
|
| return reinterpret_cast<HANDLE>(desc);
|
| }
|
| -#elif defined(OS_POSIX)
|
| +#endif
|
| +#if defined(OS_POSIX)
|
| typedef base::FileDescriptor FileDescriptor;
|
| inline int ToNativeHandle(const FileDescriptor& desc) {
|
| return desc.fd;
|
|
|