diff options
| author | christos <christos@NetBSD.org> | 2011-05-15 23:59:03 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2011-05-15 23:59:03 +0000 |
| commit | e702c814c5e511f2f994a5ed78458a7983d452d2 (patch) | |
| tree | 4d680b93772a610600a5d3718fd41979aaccbc04 /tests/lib/libcurses | |
| parent | d769675d0dced59e4f91f200393e44b0bd31f77f (diff) | |
add missing header files.
Diffstat (limited to 'tests/lib/libcurses')
| -rw-r--r-- | tests/lib/libcurses/slave/commands.c | 3 | ||||
| -rw-r--r-- | tests/lib/libcurses/slave/slave.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/lib/libcurses/slave/commands.c b/tests/lib/libcurses/slave/commands.c index aec744a81c3..192334d6cf0 100644 --- a/tests/lib/libcurses/slave/commands.c +++ b/tests/lib/libcurses/slave/commands.c @@ -1,4 +1,4 @@ -/* $NetBSD: commands.c,v 1.1 2011/04/10 09:55:10 blymn Exp $ */ +/* $NetBSD: commands.c,v 1.2 2011/05/15 23:59:03 christos Exp $ */ /*- * Copyright 2009 Brett Lymn <blymn@NetBSD.org> @@ -33,6 +33,7 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> +#include <unistd.h> #include <sys/types.h> #include "returns.h" #include "slave.h" diff --git a/tests/lib/libcurses/slave/slave.c b/tests/lib/libcurses/slave/slave.c index 66374663a1a..caae4ec39fc 100644 --- a/tests/lib/libcurses/slave/slave.c +++ b/tests/lib/libcurses/slave/slave.c @@ -1,4 +1,4 @@ -/* $NetBSD: slave.c,v 1.2 2011/04/21 10:23:50 blymn Exp $ */ +/* $NetBSD: slave.c,v 1.3 2011/05/15 23:59:03 christos Exp $ */ /*- * Copyright 2009 Brett Lymn <blymn@NetBSD.org> @@ -30,6 +30,8 @@ */ #include <fcntl.h> #include <sys/ioctl.h> +#include <unistd.h> +#include <err.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |
