--- a/lib/tevent/tevent.h	2020-09-27 13:04:02.969331767 +0530
+++ b/lib/tevent/tevent.h	2020-09-29 13:13:48.807482835 +0530
@@ -31,6 +31,8 @@
 #include <stdint.h>
 #include <talloc.h>
 #include <sys/time.h>
+#include <sys/stat.h> 
+#include <sys/types.h>
 #include <stdbool.h>
 
 struct tevent_context;
