Make compilation on DragonFly work

This commit is contained in:
Markus Pfeiffer 2014-04-22 20:16:15 +00:00 committed by Paul Bakker
parent 2a024ac86a
commit a26a005acf
3 changed files with 3 additions and 2 deletions

View file

@ -31,6 +31,7 @@ Bugfix
big-endian platform when size was not an integer number of limbs
* Fix dependencies issues in X.509 test suite.
* Some parts of ssl_tls.c were compiled even when the module was disabled.
* Fix detection of DragonflyBSD in net.c (found by Markus Pfeiffer)
= PolarSSL 1.3.6 released on 2014-04-11

View file

@ -78,7 +78,7 @@ static int wsa_init_done = 0;
#include <errno.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(__DragonflyBSD__)
defined(__DragonFly__)
#include <sys/endian.h>
#elif defined(__APPLE__) || defined(HAVE_MACHINE_ENDIAN_H) || \
defined(EFIX64) || defined(EFI32)

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
use strict;