--- misc_cmds-23/leave/leave.c
+++ misc_cmds-23/leave/leave.c
@@ -34,6 +34,7 @@
  */
 
 #include <sys/cdefs.h>
+#include <stdlib.h>
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1980, 1988, 1993\n\
 	The Regents of the University of California.  All rights reserved.\n");
--- shell_cmds-118/alias/alias.c
+++ shell_cmds-118/alias/alias.c
@@ -3,6 +3,7 @@
    the shell scripts. It does not lead to any deliverable. Do not remove this
    file from this (..../shell_cmds/alias) directory.
 */
+#include <stdlib.h>
 int main()
 {
   exit(0);
