summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src
diff options
context:
space:
mode:
authorsbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 00:37:57 +0000
committersbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 00:37:57 +0000
commit931ec03b3539da68b1b5cf563538f970cee67b48 (patch)
tree89c66ef8e7a4a0d1e5353b6356048a2079674fb6 /native_client_sdk/src
parent7e14cdcc0a742e798a21850a387b9612a5167bc3 (diff)
downloadchromium_src-931ec03b3539da68b1b5cf563538f970cee67b48.zip
chromium_src-931ec03b3539da68b1b5cf563538f970cee67b48.tar.gz
chromium_src-931ec03b3539da68b1b5cf563538f970cee67b48.tar.bz2
[NaCl SDK] Fix select.h in newlib-extras.
Turns out it was full of errors if one tried to include it before anything else. BUG= Review URL: https://codereview.chromium.org/150633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src')
-rw-r--r--native_client_sdk/src/libraries/third_party/newlib-extras/sys/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native_client_sdk/src/libraries/third_party/newlib-extras/sys/select.h b/native_client_sdk/src/libraries/third_party/newlib-extras/sys/select.h
index 2ec7612..f0595fd 100644
--- a/native_client_sdk/src/libraries/third_party/newlib-extras/sys/select.h
+++ b/native_client_sdk/src/libraries/third_party/newlib-extras/sys/select.h
@@ -1,6 +1,8 @@
#ifndef _SYS_SELECT_H
#define _SYS_SELECT_H 1
+#include <sys/cdefs.h>
+#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
@@ -8,8 +10,6 @@
EXTERN_C_BEGIN
-struct timeval;
-
int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,