[Pdns-dev] endian.h patch for SunOS (Solaris)
Peter van Dijk
peter.van.dijk at netherlabs.nl
Mon Apr 2 20:05:18 CEST 2012
Hi,
> --- pdns/ext/polarssl/library/net.c.orig Mon Apr 2 13:38:22 2012
> +++ pdns/ext/polarssl/library/net.c Mon Apr 2 13:39:31 2012
> @@ -59,6 +59,8 @@
> #include <sys/endian.h>
> #elif defined(__APPLE__)
> #include <machine/endian.h>
> +#elif defined(sun)
> +#include <sys/isa_defs.h>
> #else
> #include <endian.h>
> #endif
Applied as r2548, thanks!
Kind regards,
--
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
More information about the Pdns-dev
mailing list