Merge pull request #6404 from hubslave/patch-1

Include <endian.h> for byte swap macros on OpenBSD
This commit is contained in:
Mat M 2018-02-27 23:28:22 -05:00 committed by GitHub
commit bf825e6354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@
#include <byteswap.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>
#elif defined(__OpenBSD__)
#include <endian.h>
#endif
#include "Common/CommonTypes.h"