Whamcloud - gitweb
LU-6484 build: autoconf checks cleanup
[fs/lustre-release.git] / lustre / utils / llog_reader.c
index 9794033..fed31ee 100644 (file)
@@ -39,7 +39,9 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <endian.h>
+#ifdef HAVE_ENDIAN_H
+# include <endian.h>
+#endif
 #include <unistd.h>
 #include <fcntl.h>