aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/nowsys-wsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/nowsys-wsys.c')
-rw-r--r--src/libdraw/nowsys-wsys.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libdraw/nowsys-wsys.c b/src/libdraw/nowsys-wsys.c
index e69de29b..2127dca0 100644
--- a/src/libdraw/nowsys-wsys.c
+++ b/src/libdraw/nowsys-wsys.c
@@ -0,0 +1,24 @@
+#include <u.h>
+#include <libc.h>
+#include <draw.h>
+
+static int
+bad(void)
+{
+ sysfatal("compiled with no window system support");
+ return 0;
+}
+
+void
+drawtopwindow(void)
+{
+ bad();
+}
+
+void
+drawresizewindow(Rectangle r)
+{
+ USED(r);
+
+ bad();
+}