diff --git a/src/lsh-execuv.c b/src/lsh-execuv.c index 72681b979b3934ef508ec4533353e28341e0ee50..0d463fc3a52e1ca24975d74b04db2ab22f7a2f61 100644 --- a/src/lsh-execuv.c +++ b/src/lsh-execuv.c @@ -59,6 +59,7 @@ #include "lsh_types.h" +#include #include #include #include @@ -112,7 +113,7 @@ die_errno(const char *msg) } /* Convert a string to a number */ -long void +static long atoid(const char *s, int *ok) { char *end; @@ -230,7 +231,7 @@ int main(int argc, char **argv) int ok; - struct pwd *pwd = NULL; + struct passwd *pwd = NULL; for (;;) switch (getopt(argc, argv, "u:n:g:ic"))