Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/gkermit include headers to make prototypes visible.



details:   https://anonhg.NetBSD.org/src/rev/878f0ae2f927
branches:  trunk
changeset: 764991:878f0ae2f927
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 15 14:30:08 2011 +0000

description:
include headers to make prototypes visible.

diffstat:

 gnu/dist/gkermit/gkermit.c |  1 +
 gnu/dist/gkermit/gunixio.c |  3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r 7d4dc6c70e58 -r 878f0ae2f927 gnu/dist/gkermit/gkermit.c
--- a/gnu/dist/gkermit/gkermit.c        Sun May 15 13:56:20 2011 +0000
+++ b/gnu/dist/gkermit/gkermit.c        Sun May 15 14:30:08 2011 +0000
@@ -58,6 +58,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 #include "gkermit.h"
 
 /* Forward declarations of functions used within this module... */
diff -r 7d4dc6c70e58 -r 878f0ae2f927 gnu/dist/gkermit/gunixio.c
--- a/gnu/dist/gkermit/gunixio.c        Sun May 15 13:56:20 2011 +0000
+++ b/gnu/dist/gkermit/gunixio.c        Sun May 15 14:30:08 2011 +0000
@@ -77,6 +77,9 @@
 #include <setjmp.h>                    /* Longjumps */
 #include <sys/stat.h>                  /* File exist, file size */
 #include <errno.h>                     /* Error symbols */
+#include <stdlib.h>
+#include <unistd.h>
+#include <fcntl.h>
 #include "gkermit.h"                   /* gkermit definitions */
 
 /* All versions of HP-UX need Xon/Xoff */



Home | Main Index | Thread Index | Old Index