diff -Nur linux-atm-2.5.0-old/src/led/main.c linux-atm-2.5.0/src/led/main.c
--- linux-atm-2.5.0-old/src/led/main.c	2008-04-25 03:39:28.000000000 +0300
+++ linux-atm-2.5.0/src/led/main.c	2008-04-25 03:39:43.000000000 +0300
@@ -46,6 +46,7 @@
 #include <atmd.h>
 
 #include <linux/atmlec.h>
+#include <limits.h>
 
 /* Local incs */
 #include "join.h"
