Wrap endian.h include inside ifdef (bz#2370).

This commit is contained in:
Darren Tucker 2015-04-17 10:40:23 +10:00
parent 408f4c2ad4
commit ee15d9c9f0
1 changed files with 2 additions and 0 deletions

View File

@ -32,7 +32,9 @@
#ifndef WITH_OPENSSL #ifndef WITH_OPENSSL
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_ENDIAN_H
#include <endian.h> #include <endian.h>
#endif
#include <string.h> #include <string.h>
#include <rmd160.h> #include <rmd160.h>