| Index: native_client_sdk/src/libraries/nacl_io/include/sys/poll.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h b/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h
|
| index d09eb59a026ae1285f3d7c46eb796de17b1c2e58..d116253f41ab3aad0b096c7494c581a1c3ed9a24 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h
|
| @@ -6,10 +6,7 @@
|
| #define LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_
|
|
|
| #include <stdint.h>
|
| -
|
| -#include "sdk_util/macros.h"
|
| -
|
| -EXTERN_C_BEGIN
|
| +#include <sys/cdefs.h>
|
|
|
| /* This header adds definitions of flags and structures for use with poll on
|
| * toolchains with 'C' libraries which do not normally supply poll. */
|
| @@ -31,8 +28,10 @@ struct pollfd {
|
| uint16_t revents;
|
| };
|
|
|
| +__BEGIN_DECLS
|
| +
|
| int poll(struct pollfd* __fds, nfds_t __nfds, int __timeout);
|
|
|
| -EXTERN_C_END
|
| +__END_DECLS
|
|
|
| #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ */
|
|
|