diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-07-23 20:32:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-07-23 20:32:26 +0000 |
commit | 6212cdcdf7208ab15fe26c9d05e488a8aeb35677 (patch) | |
tree | e1fd7884c1f74b73f17304d975acb70c2a41eb59 /libgo | |
parent | 7acd2b86bfe6c13684e90e99799e6259fc7578a4 (diff) | |
download | gcc-6212cdcdf7208ab15fe26c9d05e488a8aeb35677.zip gcc-6212cdcdf7208ab15fe26c9d05e488a8aeb35677.tar.gz gcc-6212cdcdf7208ab15fe26c9d05e488a8aeb35677.tar.bz2 |
runtime: Declare epoll_create1 if necessary.
From-SVN: r201181
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 04f9c75..98c5cbe 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 |