projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7acd2b8
)
runtime: Declare epoll_create1 if necessary.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 23 Jul 2013 20:32:26 +0000
(20:32 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 23 Jul 2013 20:32:26 +0000
(20:32 +0000)
From-SVN: r201181
libgo/runtime/netpoll_epoll.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/netpoll_epoll.c
b/libgo/runtime/netpoll_epoll.c
index 04f9c756472d10903bc04a5a99b86fa4e9767660..98c5cbeb58715ce3fdfd2227e33821d86e1e3d1f 100644
(file)
--- a/
libgo/runtime/netpoll_epoll.c
+++ b/
libgo/runtime/netpoll_epoll.c
@@
-20,6
+20,10
@@
#define EPOLL_CLOEXEC 02000000
#endif
+#ifndef HAVE_EPOLL_CREATE1
+extern int epoll_create1(int __flags);
+#endif
+
typedef struct epoll_event EpollEvent;
static int32