- (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]

[openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c]
   [openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c]
   [openbsd-compat/port-aix.c openbsd-compat/port-irix.c]
   [openbsd-compat/rresvport.c]
   These look to need string.h and/or unistd.h (based on a grep for function
   names)
This commit is contained in:
Damien Miller 2006-07-24 15:08:35 +10:00
parent ad5ecbf072
commit 62da44f064
10 changed files with 26 additions and 3 deletions

View File

@ -122,7 +122,14 @@
- (djm) [session.c]
fix compile error with -Werror -Wall: 'path' is only used in
do_setup_env() if HAVE_LOGIN_CAP is not defined
- (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]
[openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c]
[openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c]
[openbsd-compat/port-aix.c openbsd-compat/port-irix.c]
[openbsd-compat/rresvport.c]
These look to need string.h and/or unistd.h (based on a grep for function
names)
20060713
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
@ -5040,4 +5047,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4433 2006/07/24 05:03:06 djm Exp $
$Id: ChangeLog,v 1.4434 2006/07/24 05:08:35 djm Exp $

View File

@ -20,6 +20,7 @@
#include "includes.h"
#ifndef HAVE_BASENAME
#include <string.h>
char *
basename(const char *path)

View File

@ -25,6 +25,8 @@
#include <limits.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)

View File

@ -1,5 +1,5 @@
/*
* $Id: bsd-cray.c,v 1.14 2005/02/02 06:10:11 dtucker Exp $
* $Id: bsd-cray.c,v 1.15 2006/07/24 05:08:36 djm Exp $
*
* bsd-cray.c
*
@ -53,6 +53,8 @@
#include <sys/stat.h>
#include <sys/session.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pwd.h>
#include <fcntl.h>
#include <errno.h>

View File

@ -57,6 +57,8 @@
#endif
#include <signal.h>
#include <string.h>
#include <unistd.h>
#ifndef O_NOCTTY
#define O_NOCTTY 0

View File

@ -108,6 +108,8 @@
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
#include <string.h>
#ifdef HAVE_LONG_DOUBLE
# define LDOUBLE long double
#else

View File

@ -36,6 +36,7 @@
*/
#include "includes.h"
#include <string.h>
#ifndef HAVE_GETNAMEINFO
int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,

View File

@ -38,6 +38,8 @@
# include <netdb.h>
#endif
#include <uinfo.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include "port-aix.h"

View File

@ -29,6 +29,9 @@
defined(WITH_IRIX_JOBS) || \
defined(WITH_IRIX_ARRAY)
#include <unistd.h>
#include <string.h>
#ifdef WITH_IRIX_PROJECT
# include <proj.h>
#endif /* WITH_IRIX_PROJECT */

View File

@ -36,6 +36,7 @@
#ifndef HAVE_RRESVPORT_AF
#include <errno.h>
#include <string.h>
#if 0
int