Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/slave add missing header files.



details:   https://anonhg.NetBSD.org/src/rev/8d65f1b1ca49
branches:  trunk
changeset: 765016:8d65f1b1ca49
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 15 23:59:03 2011 +0000

description:
add missing header files.

diffstat:

 tests/lib/libcurses/slave/commands.c |  3 ++-
 tests/lib/libcurses/slave/slave.c    |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r dfc9a6b3370a -r 8d65f1b1ca49 tests/lib/libcurses/slave/commands.c
--- a/tests/lib/libcurses/slave/commands.c      Sun May 15 23:56:28 2011 +0000
+++ b/tests/lib/libcurses/slave/commands.c      Sun May 15 23:59:03 2011 +0000
@@ -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@localhost>
@@ -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 -r dfc9a6b3370a -r 8d65f1b1ca49 tests/lib/libcurses/slave/slave.c
--- a/tests/lib/libcurses/slave/slave.c Sun May 15 23:56:28 2011 +0000
+++ b/tests/lib/libcurses/slave/slave.c Sun May 15 23:59:03 2011 +0000
@@ -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@localhost>
@@ -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>



Home | Main Index | Thread Index | Old Index