]> andersk Git - openssh.git/commitdiff
- (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]
authordjm <djm>
Mon, 24 Jul 2006 05:08:35 +0000 (05:08 +0000)
committerdjm <djm>
Mon, 24 Jul 2006 05:08:35 +0000 (05:08 +0000)
   [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)

ChangeLog
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

index 86e93b1171f1ade2c80d8a0b2eeb5e16fbf90e2c..035939c3dae66af9a6d28aa18dd3945f9aecf5ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
  - (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
 
index ad040e1392055be863fc4d8063075ee361cf8ac0..4b10cb84b9db308dafc3e09c618003ecf0c50f37 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #ifndef HAVE_BASENAME
+#include <string.h>
 
 char *
 basename(const char *path)
index 7509d2835e7e47a7b62c3288e0c012ee82040d6b..3f17302d162c8a5fd78920822bbad6db3a8fb451 100644 (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)
index 8439d9b3e6de61374790b892236d1c40c46d6ec5..65f9143f526a27bd9c807290780ad13df22136ec 100644 (file)
@@ -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>
index 0b77a1da9a593c5a2ed11b9e111298d3b4c5dd62..a2f2fda60df411faa901adb6c395a415c36896e5 100644 (file)
@@ -57,6 +57,8 @@
 #endif
 
 #include <signal.h>
+#include <string.h>
+#include <unistd.h>
 
 #ifndef O_NOCTTY
 #define O_NOCTTY 0
index c30cd1223348bd3539460a7f4640f5fe49780f0e..9fdf4d3f010bbf6e3661e405c70c6b40dcb495af 100644 (file)
 
 #if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
 
+#include <string.h>
+
 #ifdef HAVE_LONG_DOUBLE
 # define LDOUBLE long double
 #else
index aae016bf782b0254e2eb0187131fb5fd378e90fb..08a7cb66ca3086ec01ace5c83fdc3e6140d985eb 100644 (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, 
index 6fd593aadf0ae58df763552640176af70827ae32..2d56e7e4a8d536a85288cddd276c0c57d840c465 100644 (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"
 
index aa6db1cf8c6153a3000e66445b7316f93ded3300..eaa91a4b5e9e0fb31e91cd4933048be4f95067d3 100644 (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 */
index fc029f46f1c0dcc3dbb56864da2cf9bd066d0357..c103918721a8cbc877f4a69d631765363b8d193f 100644 (file)
@@ -36,6 +36,7 @@
 #ifndef HAVE_RRESVPORT_AF
 
 #include <errno.h>
+#include <string.h>
 
 #if 0
 int
This page took 0.054556 seconds and 5 git commands to generate.