equal
deleted
inserted
replaced
29 #include <stddef.h> |
29 #include <stddef.h> |
30 #include <stdint.h> /* To get uintptr_t */ |
30 #include <stdint.h> /* To get uintptr_t */ |
31 |
31 |
32 #include <limits.h> |
32 #include <limits.h> |
33 #include <sys/types.h> |
33 #include <sys/types.h> |
|
34 #ifdef _ALLBSD_SOURCE |
|
35 #include <machine/endian.h> |
|
36 #elif __linux__ |
|
37 #include <endian.h> |
|
38 #endif |
34 |
39 |
35 #ifdef _LP64 |
40 #ifdef _LP64 |
36 typedef unsigned long UNSIGNED_JLONG; |
41 typedef unsigned long UNSIGNED_JLONG; |
37 typedef unsigned int UNSIGNED_JINT; |
42 typedef unsigned int UNSIGNED_JINT; |
38 #else /* _LP64 */ |
43 #else /* _LP64 */ |