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 358d325017
commit 55bdbc1834
3 changed files with 3 additions and 2 deletions

View file

@ -55,6 +55,7 @@ Bugfix
* On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
* mpi_fill_random() was creating numbers larger than requested on
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
Changes

View file

@ -60,7 +60,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__)
#include <machine/endian.h>

View file

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