Re: [PATCH wayland] shm: use mremap on pool resize

2012-05-23 Thread Kristian Høgsberg
On Wed, May 23, 2012 at 04:09:55PM +0300, Ander Conselvan de Oliveira wrote: Thanks, Kristian > --- > src/wayland-shm.c | 12 +--- > 1 files changed, 5 insertions(+), 7 deletions(-) > > diff --git a/src/wayland-shm.c b/src/wayland-shm.c > index e071392..62afc3b 100644 > --- a/src/wayl

[PATCH wayland] shm: use mremap on pool resize

2012-05-23 Thread Ander Conselvan de Oliveira
--- src/wayland-shm.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/wayland-shm.c b/src/wayland-shm.c index e071392..62afc3b 100644 --- a/src/wayland-shm.c +++ b/src/wayland-shm.c @@ -25,6 +25,8 @@ * */ +#define _GNU_SOURCE + #include #include #