Fix r555861

Reported by:	bdrewery
This commit is contained in:
Sunpoet Po-Chuan Hsieh
2020-11-24 20:35:40 +00:00
parent e376b15e56
commit 04202dade7
@@ -9,12 +9,3 @@
#endif
#if defined(__APPLE__) && !defined(HAVE_ENDIAN_H)
@@ -33,7 +33,7 @@
#endif /* _WIN32 && !HAVE_ENDIAN_H */
#if defined(__FreeBSD__) && !defined(HAVE_ENDIAN_H)
-#include <sys/endian.h>
+#include <sys/sys/endian.h>
#endif
#include <stdlib.h>