From 44788bbbf243c7b2aeee4dc1ea37c1f2b28a6dad Mon Sep 17 00:00:00 2001 From: IIDA Yosiaki Date: Wed, 30 Mar 2011 05:55:07 -0600 Subject: [PATCH] Bug 3181: /dev/poll fails to build on Solaris with GCC 4.5.0 --- src/comm_devpoll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm_devpoll.cc b/src/comm_devpoll.cc index 25cb3630b6..86e61bb27a 100644 --- a/src/comm_devpoll.cc +++ b/src/comm_devpoll.cc @@ -88,7 +88,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