Include unistd.h (if present) for dup() prototype.
More gcc -Wall cleanups.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10507
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Mar 30 13:57:07 1998 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * t_inetd.c: Include stdlib.h (if present) for atoi() prototype,
+ Include unistd.h (if present) for dup() prototype.
+
+
Wed Feb 18 16:28:37 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include <signal.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include "com_err.h"
extern int errno;
exit(1);
}
+int
main(argc, argv)
int argc;
char **argv;