From 14302ffad0243fd990d6a922fb2662df932fae30 Mon Sep 17 00:00:00 2001 From: IIDA Yosiaki Date: Wed, 23 Mar 2011 13:54:22 +1200 Subject: [PATCH] Bug 3181: /dev/poll fails to build on Solaris with GCC 4.5.0 --- src/comm/ModDevPoll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/ModDevPoll.cc b/src/comm/ModDevPoll.cc index 7cf65131a0..614ac85416 100644 --- a/src/comm/ModDevPoll.cc +++ b/src/comm/ModDevPoll.cc @@ -89,7 +89,7 @@ struct _devpoll_state { * pfds structure elements have been set) until it is full before it * is written out the API. */ -struct { +static struct { struct pollfd *pfds; /**< ptr to array of struct pollfd config elements */ int cur; /**< index of last written element of array, or -1 if none */ int size; /**< maximum number of elements in array */ -- 2.47.3