diff -rupN old/tools/touchpad-edge-detector.c new/tools/touchpad-edge-detector.c
--- old/tools/touchpad-edge-detector.c	2020-03-02 12:17:04.000000000 +0800
+++ new/tools/touchpad-edge-detector.c	2020-11-07 17:44:39.516937648 +0800
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/syslimits.h>
 
 #include "libevdev/libevdev.h"
 
