Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib Fix a build problem ...
details: https://anonhg.NetBSD.org/src/rev/f79c48a01ddd
branches: trunk
changeset: 758552:f79c48a01ddd
user: agc <agc%NetBSD.org@localhost>
date: Sun Nov 07 21:16:00 2010 +0000
description:
Fix a build problem on OpenBSD (we're not the only one who has trouble
with their header files, it seems - insight from the tor project mailing
list).
And just so that the search engines can find it:
> In file included from ssh2pgp.c:39:
> /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list
> /usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want
> /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list
> *** Error code 1
is fixed by including <netinet/in.h> before <arpa/inet.h> - found after a
long-distance debug session with Anthony Bentley - thanks!
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/ssh2pgp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r f7c47d53187c -r f79c48a01ddd crypto/external/bsd/netpgp/dist/src/lib/ssh2pgp.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/ssh2pgp.c Sun Nov 07 19:55:58 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/ssh2pgp.c Sun Nov 07 21:16:00 2010 +0000
@@ -36,6 +36,8 @@
#include <sys/stat.h>
#include <sys/param.h>
+#include <netinet/in.h>
+
#include <arpa/inet.h>
#include <inttypes.h>
Home |
Main Index |
Thread Index |
Old Index