X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=wrapper%2Ffdtable.h;h=c3a067305c2dbbfd833f8f7437fcea81eb5a6d0e;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=69ff4aa3fc316830c5b6b353e704dde6e6be96cf;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/wrapper/fdtable.h b/wrapper/fdtable.h index 69ff4aa3..c3a06730 100644 --- a/wrapper/fdtable.h +++ b/wrapper/fdtable.h @@ -21,10 +21,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include #include -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)) +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,7,0)) int lttng_iterate_fd(struct files_struct *files, unsigned int first, @@ -42,7 +42,7 @@ int lttng_iterate_fd(struct files_struct *files, #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,4,0)) static inline bool lttng_close_on_exec(int fd, const struct fdtable *fdt) {