Browse Source

make endian work with netbsd

pull/1116/head
Jeff Becker 7 years ago
parent
commit
4988a32d33
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd/I2PEndian.h

2
libi2pd/I2PEndian.h

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include <inttypes.h>
#include <string.h>
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/endian.h>
#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
#include <endian.h>

Loading…
Cancel
Save