jdk/src/solaris/back/util_md.h
changeset 12047 320a714614e9
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
12046:378aa3362868 12047:320a714614e9
    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 */