summaryrefslogtreecommitdiff
path: root/sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch
blob: 0605310bff427b0edb8c6e498cb77c036fd1791a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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);