diff options
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/nowsys-itrans.c | 24 | ||||
-rw-r--r-- | src/libdraw/nowsys-mouse.c | 1 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/libdraw/nowsys-itrans.c b/src/libdraw/nowsys-itrans.c index 117e1627..8c60c6bf 100644 --- a/src/libdraw/nowsys-itrans.c +++ b/src/libdraw/nowsys-itrans.c @@ -1,3 +1,23 @@ -/* so that there's *something* in this file */ -int __nowsys__itrans(void) {return 0;} +#include <u.h> +#include <libc.h> + +static int +bad(void) +{ + sysfatal("compiled with no window system support"); + return 0; +} +void +putsnarf(char *data) +{ + USED(data); + bad(); +} + +char* +getsnarf(void) +{ + bad(); + return nil; +} diff --git a/src/libdraw/nowsys-mouse.c b/src/libdraw/nowsys-mouse.c index bf550079..af1bf990 100644 --- a/src/libdraw/nowsys-mouse.c +++ b/src/libdraw/nowsys-mouse.c @@ -5,6 +5,7 @@ #include <cursor.h> #include <mouse.h> +int _wantfocuschanges; static int bad(void) { |