Merge pull request #93 from kytvi2p/kfreebsd

detect GNU/kFreeBSD
This commit is contained in:
orignal 2014-09-01 17:56:49 -04:00
commit a50a77435a

View File

@ -1,7 +1,7 @@
#ifndef I2PENDIAN_H__
#define I2PENDIAN_H__
#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD_kernel__)
#include <endian.h>
#elif __FreeBSD__
#include <sys/endian.h>