Skip to content

Commit 881be4c

Browse files
authored
Provide illumos support (#23)
To support illumos based distributions the endian.h could be included on the specified location.
1 parent debae2b commit 881be4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <stdint.h>
22

3-
#if defined(__linux__) || defined(__CYGWIN__)
3+
#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun)
44
#include <endian.h>
55
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) \
66
|| defined(__DragonFly__)

0 commit comments

Comments
 (0)