diff options
| author | tgoodwin <tgoodwin> | 1998-07-08 16:59:58 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:06 +0100 |
| commit | 279e7fc70338626ed540163afa7e1450ae4ce866 (patch) | |
| tree | 5eafb83b533ecc4a5c6f8afdbf15b8a311b8c985 /builtins.c | |
| parent | d5cfcd08cbc2ad79d8d7c73bb033a2198cbb9cce (diff) | |
don't declare umask, but do include sys/stat.h
better support for addons
Diffstat (limited to 'builtins.c')
| -rw-r--r-- | builtins.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -10,15 +10,14 @@ #include "rc.h" #include <sys/ioctl.h> +#include <sys/stat.h> #include <setjmp.h> #include <errno.h> -#include "jbwrap.h" -#include "sigmsgs.h" #include "addon.h" +#include "jbwrap.h" #include "rlimit.h" - -extern int umask(int); +#include "sigmsgs.h" static void b_break(char **), b_cd(char **), b_eval(char **), b_exit(char **), b_newpgrp(char **), b_return(char **), b_shift(char **), b_umask(char **), @@ -55,7 +54,9 @@ static struct { { b_wait, "wait" }, { b_whatis, "whatis" }, { b_dot, "." }, +#ifdef ADDONS ADDONS +#endif }; extern builtin_t *isbuiltin(char *s) { |