diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-23 20:32:26 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-23 20:32:26 +0000 |
commit | cb6d6325efd6661fdbe564718e5cfcf48b894a3f (patch) | |
tree | e1fd7884c1f74b73f17304d975acb70c2a41eb59 /libgo | |
parent | 2bccb0bde95235fafe7c4ba7ff23b64961bd8514 (diff) | |
download | gcc-cb6d6325efd6661fdbe564718e5cfcf48b894a3f.tar.gz |
runtime: Declare epoll_create1 if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/netpoll_epoll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/runtime/netpoll_epoll.c b/libgo/runtime/netpoll_epoll.c index 04f9c756472..98c5cbeb587 100644 --- 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 |