sturmflut
sturmflut copied to clipboard
Fix darwin build
This PR will fix the sturmflut build for darwin.
Instead of including sys/sendfile.h
the code now includes sys/types.h
, sys/socket.h
and sys/uio.h
separately which should also work on darwin.
Also the Makefiel is adjusted to use the CC environment variable if it is set. This makes building for darwin easier, as CC is usually set to clang, because there is usually no gcc available on darwin.