diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-08 02:28:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-08 02:28:40 +0000 |
commit | a0af35a9dbefe36440fcd6b603a89cf21041c0a1 (patch) | |
tree | 4b595e16b3b45ab00fde5cd89076de48bf9aefb2 /extra/config/mconf.c | |
parent | 92e03da6a446faa5ad8946fc90794e918db90454 (diff) |
Some minor changes from Stefan Allius to make conf and
mconf compile under Solaris.
Diffstat (limited to 'extra/config/mconf.c')
-rw-r--r-- | extra/config/mconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/config/mconf.c b/extra/config/mconf.c index 2ebc18819..dad2f5f9d 100644 --- a/extra/config/mconf.c +++ b/extra/config/mconf.c @@ -8,6 +8,7 @@ #include <sys/ioctl.h> #include <sys/wait.h> +#include <sys/termios.h> #include <ctype.h> #include <errno.h> #include <fcntl.h> @@ -443,7 +444,7 @@ static void conf(struct menu *menu) if (!type) continue; - for (i = 0; input_buf[i] && !isspace(input_buf[i]); i++) + for (i = 0; input_buf[i] && !isspace((int)input_buf[i]); i++) ; if (i >= sizeof(active_entry)) i = sizeof(active_entry) - 1; |