--- src/lib/lightgrep_c_util.cpp	2014-09-10 01:16:18.000000000 +0800
+++ src/lib/lightgrep_c_util.cpp	2024-05-23 00:54:05.000000000 +0800
@@ -29,6 +29,7 @@
 #include <string>
 #include <tuple>
 #include <vector>
+#include <sys/types.h>
 
 #include "lightgrep/util.h"
 #include "lightgrep/transforms.h"
