mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
Extend FreeBSD conditional about byte ordering to NetBSD
NetBSD has the same byte-ordering idioms as FreeBSD. Signed-off-by: Greg Troxel <gdt@lexort.com>
This commit is contained in:
parent
dbaf284e11
commit
0231d314f5
@ -34,7 +34,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
#define isal_bswap16(x) bswap16(x)
|
#define isal_bswap16(x) bswap16(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user