--- src/device_info.c.orig
+++ src/device_info.c
@@ -17,6 +17,7 @@
*/
+#include <limits.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>