1 diff --git a/src/rmd_getzpixmap.c b/src/rmd_getzpixmap.c
2 index 33c31c2..ef31561 100644
3 --- a/src/rmd_getzpixmap.c
4 +++ b/src/rmd_getzpixmap.c
8 #include <X11/Xlibint.h>
9 -#include <X11/extensions/shmstr.h>
10 +#include <X11/extensions/shmproto.h>
11 #include <X11/extensions/XShm.h>
14 diff --git a/src/rmd_update_image.c b/src/rmd_update_image.c
15 index 502b859..d8033b5 100644
16 --- a/src/rmd_update_image.c
17 +++ b/src/rmd_update_image.c
19 #include "rmd_types.h"
21 #include <X11/Xlibint.h>
22 -#include <X11/extensions/shmstr.h>
23 +#include <X11/extensions/shmproto.h>
24 #include <X11/extensions/XShm.h>