[LTP] [PATCH] [COMMITTED] lapi/fs.h: Include <sys/types.h>

Cyril Hrubis chrubis@suse.cz
Mon Aug 10 15:32:10 CEST 2020


To get the loff_t defined.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 include/lapi/fs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/lapi/fs.h b/include/lapi/fs.h
index 430d21f27..8b54afd43 100644
--- a/include/lapi/fs.h
+++ b/include/lapi/fs.h
@@ -10,6 +10,7 @@
 # include <linux/fs.h>
 #endif
 
+#include <sys/types.h>
 #include <sys/user.h>
 #include <limits.h>
 #include "lapi/abisize.h"
-- 
2.26.2



More information about the ltp mailing list