X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-types.h;h=c435b4d3ea127346e3b21c31bb115ab2bc3896a6;hb=9115fbdc0d5b0d69b32d3d4d924624fbbe22638e;hp=5a7a655445bdf1561b24586399c9d44f02fd78fc;hpb=be066e6c5981a3d8dfda0e2884920c44f983e75e;p=lttng-modules.git diff --git a/probes/lttng-types.h b/probes/lttng-types.h index 5a7a6554..c435b4d3 100644 --- a/probes/lttng-types.h +++ b/probes/lttng-types.h @@ -9,29 +9,10 @@ #include "lttng.h" #include "../ltt-events.h" #include "../ltt-tracer.h" - -#ifdef __KERNEL__ -# include -# ifdef __BIG_ENDIAN -# define __BYTE_ORDER __BIG_ENDIAN -# elif defined(__LITTLE_ENDIAN) -# define __BYTE_ORDER __LITTLE_ENDIAN -# else -# error "unknown endianness" -# endif -#ifndef __BIG_ENDIAN -# define __BIG_ENDIAN 4321 -#endif -#ifndef __LITTLE_ENDIAN -# define __LITTLE_ENDIAN 1234 -#endif -#else -# include -#endif +#include "../ltt-endian.h" #endif /* _LTTNG_PROBES_LTTNG_TYPES_H */ - /* Export enumerations */ #ifdef STAGE_EXPORT_ENUMS