aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/devdraw/x11-alloc.c2
-rw-r--r--src/cmd/snarfer/snarfer.c1
2 files changed, 3 insertions, 0 deletions
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