summaryrefslogtreecommitdiff
blob: 52a25ebcd83e79381ca61b9ea5acba2451068565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- lib/readln.c
+++ lib/readln.c
@@ -9,6 +9,7 @@
  * Get a single line from an fd.
  */
 
+#include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>

--- lib/cmdopen.c
+++ lib/cmdopen.c
@@ -6,6 +6,7 @@
  */
 
 #include <unistd.h>
+#include <stdlib.h>
 #include <fcntl.h>
 #include <sys/wait.h>