Fix Windows build:

- Missed a OS dependent file.
Review URL: https://codereview.chromium.org//12315020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18798 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
iposva@google.com
2013-02-20 23:47:29 +00:00
parent 8e93d20303
commit 36d72ffdcc
3 changed files with 27 additions and 12 deletions
+9 -4
View File
@@ -2,10 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "platform/globals.h"
#if defined(TARGET_OS_ANDROID)
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
#include <unistd.h> // NOLINT
#include <sys/ioctl.h> // NOLINT
#include "bin/fdutils.h"
@@ -132,3 +135,5 @@ ssize_t FDUtils::WriteToBlocking(int fd, const void* buffer, size_t count) {
}
return count;
}
#endif // defined(TARGET_OS_ANDROID)
+9 -4
View File
@@ -2,10 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "platform/globals.h"
#if defined(TARGET_OS_LINUX)
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
#include <unistd.h> // NOLINT
#include <sys/ioctl.h> // NOLINT
#include "bin/fdutils.h"
@@ -132,3 +135,5 @@ ssize_t FDUtils::WriteToBlocking(int fd, const void* buffer, size_t count) {
}
return count;
}
#endif // defined(TARGET_OS_LINUX)
+9 -4
View File
@@ -2,10 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "platform/globals.h"
#if defined(TARGET_OS_MACOS)
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
#include <unistd.h> // NOLINT
#include <sys/ioctl.h> // NOLINT
#include "bin/fdutils.h"
@@ -133,3 +136,5 @@ ssize_t FDUtils::WriteToBlocking(int fd, const void* buffer, size_t count) {
}
return count;
}
#endif // defined(TARGET_OS_MACOS)