]> andersk Git - openssh.git/commitdiff
- stevesk@cvs.openbsd.org 2006/07/12 22:28:52
authordjm <djm>
Mon, 24 Jul 2006 03:51:51 +0000 (03:51 +0000)
committerdjm <djm>
Mon, 24 Jul 2006 03:51:51 +0000 (03:51 +0000)
     [auth-options.c canohost.c channels.c includes.h readconf.c servconf.c ssh-keyscan.c ssh.c sshconnect.c sshd.c]
     move #include <netdb.h> out of includes.h; ok djm@

16 files changed:
ChangeLog
auth-options.c
canohost.c
channels.c
dns.c
includes.h
logintest.c
openbsd-compat/fake-rfc2553.h
openbsd-compat/port-aix.c
readconf.c
servconf.c
ssh-keygen.c
ssh-keyscan.c
ssh.c
sshconnect.c
sshd.c

index b43e780fb88d70e7eba8fdcd9134f67a6649e906..f818b982efcc0cbf61b8dffc1f2875fdf5cc0567 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
       - new sentence, new line
       - s/The the/The/
       - kill a bad comma
+   - stevesk@cvs.openbsd.org 2006/07/12 22:28:52
+     [auth-options.c canohost.c channels.c includes.h readconf.c servconf.c ssh-keyscan.c ssh.c sshconnect.c sshd.c]
+     move #include <netdb.h> out of includes.h; ok djm@
 
 20060713
  - (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
index 473fb8bf7b2fe4d7b058e15e0f147f3c52a66880..0b11151cff52f32a9c6b87d3ec607cf32636525f 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.36 2006/07/06 16:03:53 stevesk Exp $ */
+/* $OpenBSD: auth-options.c,v 1.37 2006/07/12 22:28:51 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -14,6 +14,9 @@
 
 #include <sys/types.h>
 
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #include <pwd.h>
 
 #include "xmalloc.h"
index 4566e2ab15fb7efcf3966dc646cc21befb50042c..da5131de31d9a98cfecaffdcf65209974e48d5e9 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: canohost.c,v 1.56 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: canohost.c,v 1.57 2006/07/12 22:28:51 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -21,6 +21,9 @@
 
 #include <ctype.h>
 #include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 
 #include "packet.h"
 #include "xmalloc.h"
index 55506725550ac4a0c1514d71860163eec137d272..2021bad53b9fc3b315b004d7ea16c233dbf6f659 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.254 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: channels.c,v 1.255 2006/07/12 22:28:51 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -50,6 +50,9 @@
 #include <arpa/inet.h>
 
 #include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #include <termios.h>
 
 #include "ssh.h"
diff --git a/dns.c b/dns.c
index 504b5d72e8907eabb8c0cbe3273df691d4e76bd1..16954a6a1f0ebc131b7d8ec119768edf3764dd32 100644 (file)
--- a/dns.c
+++ b/dns.c
@@ -30,7 +30,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#include <netdb.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 
 #include "xmalloc.h"
 #include "key.h"
index 08d34486b453fccb53f681990ecbbb4cdfbe62f7..7a3396c16a9c9f8c527189552234319b24131065 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.49 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.50 2006/07/12 22:28:51 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #endif
 
 #include <netinet/in_systm.h> /* For typedefs */
-#if defined(HAVE_NETDB_H)
-# include <netdb.h>
-#endif
 #ifdef HAVE_RPC_TYPES_H
 # include <rpc/types.h> /* For INADDR_LOOPBACK */
 #endif
index 7e9fbbfbbdc1e5a6cac726af7de233410e9438d8..0de928bec066c50518955206785b3a952544fa9c 100644 (file)
@@ -40,7 +40,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <pwd.h>
-#include <netdb.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
index 9a9f756a27e4f98b21dc8e7d7664e4684e43ce01..8431a42f802c6c1fcb9bff4d9c99d79458ef59d3 100644 (file)
 #define _FAKE_RFC2553_H
 
 #include "includes.h"
-#include "sys/types.h"
+#include <sys/types.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 
 /*
  * First, socket and INET6 related definitions 
index 33be00c2b91b4478959fa21ffdff824b1de16ef6..6fd593aadf0ae58df763552640176af70827ae32 100644 (file)
@@ -34,6 +34,9 @@
 #ifdef _AIX
 
 #include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #include <uinfo.h>
 #include <sys/socket.h>
 #include "port-aix.h"
index d2e17230383fe99efe89a0c0e40e04ac148e10bf..4f790e24696b0982e7efd47440aebbcd47f6f9df 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.154 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: readconf.c,v 1.155 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,6 +22,9 @@
 
 #include <ctype.h>
 #include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 
 #include "ssh.h"
 #include "xmalloc.h"
index 42ec340f3d5d5d447df2b55d0965503279d2b716..20e3f1a861662d093cd454d2c9f55eeb0570367f 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.c,v 1.153 2006/07/12 11:34:58 dtucker Exp $ */
+/* $OpenBSD: servconf.c,v 1.154 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
 #include <sys/types.h>
 #include <sys/socket.h>
 
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
+
 #include "ssh.h"
 #include "log.h"
 #include "servconf.h"
index 1c506059c29490f02cf2f9b15651fe35c2e4804c..b217c55e82bfe5deff6f2ca6fc575d107009042f 100644 (file)
@@ -23,6 +23,9 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif
index a612dd1b94357cd4dc43b247d51934d51bf345df..38c37e5790b539ea945837af58246c34829025c9 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.66 2006/07/10 16:37:36 stevesk Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.67 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
  *
  
 #include "openbsd-compat/sys-queue.h"
 #include <sys/resource.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #include <errno.h>
 #include <stdarg.h>
+#include <setjmp.h>
 
 #include <openssl/bn.h>
 
-#include <setjmp.h>
 #include "xmalloc.h"
 #include "ssh.h"
 #include "ssh1.h"
diff --git a/ssh.c b/ssh.c
index 9961baf6e7db5c988f4c19e7ef26e61b5c95b89c..701c4054360b8d7f534f9a6d51eff6b1ebd0b0d7 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.285 2006/07/11 20:27:56 stevesk Exp $ */
+/* $OpenBSD: ssh.c,v 1.286 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,9 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
index c9d6221d88d1938e77e9447f232999da5c06d898..fe9b4842cb211f9f53c3b283c0b432798fed6dd8 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.190 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.191 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -24,6 +24,9 @@
 
 #include <ctype.h>
 #include <errno.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
diff --git a/sshd.c b/sshd.c
index 497525df87158a581b5f7b532f4868aeeeb9e879..3da176da1d7ba82209d5a1fc1eef3bf7ead75ebe 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.337 2006/07/12 11:34:58 dtucker Exp $ */
+/* $OpenBSD: sshd.c,v 1.338 2006/07/12 22:28:52 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,9 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#if defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
This page took 0.466191 seconds and 5 git commands to generate.