From: Ian Lance Taylor Date: Tue, 23 Jul 2013 20:32:26 +0000 (+0000) Subject: runtime: Declare epoll_create1 if necessary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6212cdcdf7208ab15fe26c9d05e488a8aeb35677;p=gcc.git runtime: Declare epoll_create1 if necessary. From-SVN: r201181 --- 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