diff options
-rwxr-xr-x | bin/9l | 2 | ||||
-rw-r--r-- | src/cmd/devdraw/x11-alloc.c | 2 | ||||
-rw-r--r-- | src/cmd/snarfer/snarfer.c | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -168,7 +168,7 @@ then libsl="$libsl -lresolv" fi - if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ] + if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ] then if [ "x$X11" = "x" ] then diff --git a/src/cmd/devdraw/x11-alloc.c b/src/cmd/devdraw/x11-alloc.c index 5792864f..a465f998 100644 --- a/src/cmd/devdraw/x11-alloc.c +++ b/src/cmd/devdraw/x11-alloc.c @@ -5,6 +5,8 @@ #include <memdraw.h> #include "x11-memdraw.h" +AUTOLIB(X11); + /* * Allocate a Memimage with an optional pixmap backing on the X server. */ diff --git a/src/cmd/snarfer/snarfer.c b/src/cmd/snarfer/snarfer.c index cdad7b88..9477f042 100644 --- a/src/cmd/snarfer/snarfer.c +++ b/src/cmd/snarfer/snarfer.c @@ -34,6 +34,7 @@ #undef Screen #undef Visual #undef Window +AUTOLIB(X11); #ifdef __APPLE__ #define APPLESNARF #define Boolean AppleBoolean |