From aed8306d3991ea80ca3b1072b212bfea5dc431e7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 15 Nov 2013 15:47:54 +0000 Subject: Include unistd.h as it is the standard location for getopt(). From Eitan Adler --- usr.bin/jot/jot.c | 3 ++- usr.bin/rs/rs.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 8c8dbf8b9b4..b773e6001d3 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jot.c,v 1.21 2012/01/30 14:08:18 okan Exp $ */ +/* $OpenBSD: jot.c,v 1.22 2013/11/15 15:47:53 millert Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- @@ -43,6 +43,7 @@ #include #include #include +#include #define REPS_DEF 100 #define BEGIN_DEF 1 diff --git a/usr.bin/rs/rs.c b/usr.bin/rs/rs.c index 8e9a24292f1..3c6ed1a4a72 100644 --- a/usr.bin/rs/rs.c +++ b/usr.bin/rs/rs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rs.c,v 1.22 2012/12/03 19:26:24 otto Exp $ */ +/* $OpenBSD: rs.c,v 1.23 2013/11/15 15:47:53 millert Exp $ */ /*- * Copyright (c) 1993 @@ -42,6 +42,7 @@ #include #include #include +#include long flags; #define TRANSPOSE 000001 -- cgit v1.2.3