Patch by Felipe Kellermann to fix a compiler compatability problem
diff --git a/shell/lash.c b/shell/lash.c
index 6969173..30cbe41 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1457,14 +1457,14 @@
int i;
int inbg;
int status;
+#ifdef CONFIG_LASH_JOB_CONTROL
+ pid_t parent_pgrp;
+
+ /* save current owner of TTY so we can restore it on exit */
+ parent_pgrp = tcgetpgrp(shell_terminal);
+#endif
newjob.job_list = &job_list;
newjob.job_context = DEFAULT_CONTEXT;
-#ifdef CONFIG_LASH_JOB_CONTROL
- pid_t parent_pgrp;
-
- /* save current owner of TTY so we can restore it on exit */
- parent_pgrp = tcgetpgrp(shell_terminal);
-#endif
command = (char *) xcalloc(BUFSIZ, sizeof(char));