mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 12:01:11 +00:00
Make compilation on DragonFly work
This commit is contained in:
parent
358d325017
commit
55bdbc1834
|
@ -55,6 +55,7 @@ Bugfix
|
||||||
* On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
|
* On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
|
||||||
* mpi_fill_random() was creating numbers larger than requested on
|
* mpi_fill_random() was creating numbers larger than requested on
|
||||||
big-endian platform when size was not an integer number of limbs
|
big-endian platform when size was not an integer number of limbs
|
||||||
|
* Fix detection of DragonflyBSD in net.c (found by Markus Pfeiffer)
|
||||||
|
|
||||||
= Version 1.2.10 released 2013-10-07
|
= Version 1.2.10 released 2013-10-07
|
||||||
Changes
|
Changes
|
||||||
|
|
|
@ -60,7 +60,7 @@ static int wsa_init_done = 0;
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||||
defined(__DragonflyBSD__)
|
defined(__DragonFly__)
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|
Loading…
Reference in a new issue