diff options
author | guenther <guenther@openbsd.org> | 2016-08-27 02:02:44 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2016-08-27 02:02:44 +0000 |
commit | 79af1000e6acd6a65648b2b85a3716fca73648cf (patch) | |
tree | 9b70851ea41cc362c96427a85fb7d1eb81f53d4d | |
parent | Pull in <time.h> for time() and perhaps other functions (diff) | |
download | wireguard-openbsd-79af1000e6acd6a65648b2b85a3716fca73648cf.tar.xz wireguard-openbsd-79af1000e6acd6a65648b2b85a3716fca73648cf.zip |
Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),
and setitimer()
ok deraadt@
-rw-r--r-- | games/atc/graphics.c | 3 | ||||
-rw-r--r-- | games/pom/pom.c | 3 | ||||
-rw-r--r-- | games/robots/extern.c | 3 | ||||
-rw-r--r-- | games/robots/move.c | 3 | ||||
-rw-r--r-- | games/tetris/input.c | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/games/atc/graphics.c b/games/atc/graphics.c index 43078e533ee..28721e07e33 100644 --- a/games/atc/graphics.c +++ b/games/atc/graphics.c @@ -1,4 +1,4 @@ -/* $OpenBSD: graphics.c,v 1.11 2015/12/31 16:50:29 mestre Exp $ */ +/* $OpenBSD: graphics.c,v 1.12 2016/08/27 02:02:44 guenther Exp $ */ /* $NetBSD: graphics.c,v 1.3 1995/03/21 15:04:04 cgd Exp $ */ /*- @@ -42,6 +42,7 @@ * For more info on this and all of my stuff, mail edjames@berkeley.edu. */ +#include <sys/time.h> #include <curses.h> #include <err.h> #include <stdlib.h> diff --git a/games/pom/pom.c b/games/pom/pom.c index d50b8845da5..a79b43108c3 100644 --- a/games/pom/pom.c +++ b/games/pom/pom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pom.c,v 1.22 2016/03/07 12:07:56 mestre Exp $ */ +/* $OpenBSD: pom.c,v 1.23 2016/08/27 02:02:44 guenther Exp $ */ /* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */ /* @@ -44,6 +44,7 @@ * */ +#include <sys/time.h> #include <ctype.h> #include <err.h> #include <math.h> diff --git a/games/robots/extern.c b/games/robots/extern.c index d849f866d6e..1208c936d9a 100644 --- a/games/robots/extern.c +++ b/games/robots/extern.c @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.c,v 1.8 2016/01/04 17:33:24 mestre Exp $ */ +/* $OpenBSD: extern.c,v 1.9 2016/08/27 02:02:44 guenther Exp $ */ /* $NetBSD: extern.c,v 1.3 1995/04/22 10:08:49 cgd Exp $ */ /* @@ -30,6 +30,7 @@ * SUCH DAMAGE. */ +#include <sys/time.h> #include "robots.h" bool Dead; /* Player is now dead */ diff --git a/games/robots/move.c b/games/robots/move.c index 61be0037127..9a4a0be0486 100644 --- a/games/robots/move.c +++ b/games/robots/move.c @@ -1,4 +1,4 @@ -/* $OpenBSD: move.c,v 1.12 2016/01/04 17:33:24 mestre Exp $ */ +/* $OpenBSD: move.c,v 1.13 2016/08/27 02:02:44 guenther Exp $ */ /* $NetBSD: move.c,v 1.4 1995/04/22 10:08:58 cgd Exp $ */ /* @@ -30,6 +30,7 @@ * SUCH DAMAGE. */ +#include <sys/time.h> #include <ctype.h> #include <poll.h> #include <termios.h> diff --git a/games/tetris/input.c b/games/tetris/input.c index 4b7904c8ae3..1a0fd878919 100644 --- a/games/tetris/input.c +++ b/games/tetris/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.17 2016/01/10 13:35:10 mestre Exp $ */ +/* $OpenBSD: input.c,v 1.18 2016/08/27 02:02:44 guenther Exp $ */ /* $NetBSD: input.c,v 1.3 1996/02/06 22:47:33 jtc Exp $ */ /*- @@ -39,6 +39,7 @@ * Tetris input. */ +#include <sys/time.h> #include <errno.h> #include <poll.h> #include <unistd.h> |