Index: native_client_sdk/src/libraries/nacl_io/ostermios.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/ostermios.h b/native_client_sdk/src/libraries/nacl_io/ostermios.h |
index 03c4b6cc6cf9c6052f9fc1d1979c1c01af1ad6e8..a03b8a79c235552b656d153489324da216b85f95 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/ostermios.h |
+++ b/native_client_sdk/src/libraries/nacl_io/ostermios.h |
@@ -5,11 +5,7 @@ |
#ifndef LIBRARIES_NACL_IO_OSTERMIOS_H |
#define LIBRARIES_NACL_IO_OSTERMIOS_H |
-#if defined(__native_client__) |
- |
-#include <termios.h> |
- |
-#else |
+#if defined(WIN32) |
#include "sdk_util/macros.h" |
@@ -37,6 +33,11 @@ int tcsetattr(int fd,int optional_actions,const struct termios *termios_p); |
EXTERN_C_END |
+#else |
+ |
+#include <termios.h> |
+ |
#endif |
+ |
#endif /* LIBRARIES_NACL_IO_OSTERMIOS_H */ |