summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/glbl.c2
-rw-r--r--bin/ed/main.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ed/glbl.c b/bin/ed/glbl.c
index 3eae4f2..081c5a9 100644
--- a/bin/ed/glbl.c
+++ b/bin/ed/glbl.c
@@ -35,6 +35,8 @@ static char * const rcsid =
#endif
#endif /* not lint */
+#include <sys/types.h>
+
#include <sys/ioctl.h>
#include <sys/wait.h>
diff --git a/bin/ed/main.c b/bin/ed/main.c
index b73738d..9131ba8 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -57,6 +57,8 @@ static char * const rcsid =
*
*/
+#include <sys/types.h>
+
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <ctype.h>
OpenPOWER on IntegriCloud