afe55fc796
Most patches were accepted upstream. One new patch for the internal copy of polarssl that was already accepted upstream.
13 lines
421 B
Plaintext
13 lines
421 B
Plaintext
$OpenBSD: patch-src_polarssl_net_c,v 1.1 2011/07/06 01:23:50 jeremy Exp $
|
|
--- src/polarssl/net.c.orig Thu Jun 30 08:27:01 2011
|
|
+++ src/polarssl/net.c Thu Jun 30 08:27:02 2011
|
|
@@ -59,7 +59,7 @@ static int wsa_init_done = 0;
|
|
#include <netdb.h>
|
|
#include <errno.h>
|
|
|
|
-#if defined(__FreeBSD__)
|
|
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
#include <sys/endian.h>
|
|
#elif defined(__APPLE__)
|
|
#include <machine/endian.h>
|