--- a/scripts/mod/sumversion.c
+++ b/scripts/mod/sumversion.c
@@ -1,3 +1,4 @@
+#include <linux/limits.h>
#include <netinet/in.h>
#ifdef __sun__
#include <inttypes.h>