summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-11 00:20:51 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-11 00:20:51 +1000
commit4e880e632be69861af52a90dcdf337deb60ca536 (patch)
tree903cb380012e0e5e2f5900115fa4c4b3f6f12f94
parentda3455356100dbcb5d1ff9f0556386ca5f788795 (diff)
- (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>
for struct sockaddr on platforms that use the fake-rfc stuff.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/openbsd-compat.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 56cee870..6c4cf92c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -104,6 +104,8 @@
format is unchanged, otherwise the host name or address is enclosed
within square brackets in the same format as sshd's ListenAddress.
Tested by many, ok markus@.
+ - (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>
+ for struct sockaddr on platforms that use the fake-rfc stuff.
20060706
- (dtucker) [configure.ac] Try AIX blibpath test in different order when
@@ -4837,4 +4839,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.4384 2006/07/10 13:04:19 dtucker Exp $
+$Id: ChangeLog,v 1.4385 2006/07/10 14:20:51 dtucker Exp $
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 6231e03a..8b885178 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
-/* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */
+/* $Id: openbsd-compat.h,v 1.39 2006/07/10 14:20:52 dtucker Exp $ */
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -34,6 +34,8 @@
#include <sys/types.h>
#include <pwd.h>
+#include <sys/socket.h>
+
/* OpenBSD function replacements */
#include "base64.h"
#include "sigact.h"