Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation on FreeBSD: endian.h not available, should probably use sys/endian.h #146

Open
transplier opened this issue Jul 27, 2020 · 0 comments

Comments

@transplier
Copy link

On FreeBSD, #include <endian.h> does not work:

depbase=`echo md5/md5.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.      -I /usr/local/include -MT md5/md5.o -MD -MP -MF $depbase.Tpo -c -o md5/md5.o md5/md5.c && mv -f $depbase.Tpo $depbase.Po
md5/md5.c:54:11: fatal error: 'endian.h' file not found
# include <endian.h>
          ^~~~~~~~~~

I believe the correct file to include is sys/endian.h but I'm not 100% on that. Seems to compile like that on my machine but I haven't done much validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant