Never mind, I searx'd "fatal error: X11/Xlib.h: No such file or directory",
and someone suggested to install libx11-dev.
Now $ make gives me:
gcc -O2 ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL
-lX11
./src/check_direct_rendering.c:33:19: fatal error: GL/gl.h: No such file or
directory
compilation terminated.
Makefile:47: recipe for target 'build' failed
make: *** [build] Error 1
Which still isn't quite like yours, but the main fatal error is the same, so
I'll try to continue from here :) I'll be back!