--- a/utest/tracefs-utest.c
+++ b/utest/tracefs-utest.c
@@ -11,6 +11,7 @@
#include <libgen.h>
#include <kbuffer.h>
#include <pthread.h>
+#include <limits.h>
#include <CUnit/CUnit.h>
#include <CUnit/Basic.h>