summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2013-11-15 15:47:53 +0000
committermillert <millert@openbsd.org>2013-11-15 15:47:53 +0000
commit7a3fbb723419516f9a54bc8290e001d8b0c294de (patch)
treef6b351c90e09662881e5e24f7c7b0a54bcd6ca8a
parentNathan Wheeler has an em which lacks a prom. Rather than fail when no (diff)
downloadwireguard-openbsd-7a3fbb723419516f9a54bc8290e001d8b0c294de.tar.xz
wireguard-openbsd-7a3fbb723419516f9a54bc8290e001d8b0c294de.zip
Include unistd.h as it is the standard location for getopt().
From Eitan Adler
-rw-r--r--usr.bin/jot/jot.c3
-rw-r--r--usr.bin/rs/rs.c3
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
long flags;
#define TRANSPOSE 000001