APE incarnation of libdraw needs external "_BIND" instead of "bind". Reference: /n/sources/patch/applied/ape-draw-bind Date: Wed Oct 23 07:53:40 CES 2013 Signed-off-by: yarikos@gmail.com --- /sys/src/ape/lib/draw/libc.h Wed Oct 23 07:53:18 2013 +++ /sys/src/ape/lib/draw/libc.h Wed Oct 23 07:53:14 2013 @@ -126,6 +126,7 @@ #define readn _READN #define mallocz _MALLOCZ #define iounit _IOUNIT +#define bind _BIND /* assume being called as in event.c */ #define postnote(x, pid, msg) kill(pid, SIGTERM)