[LTP] [PATCH] [COMMITTED] crypto/af_alg07: Include lapi/fcntl.h
Cyril Hrubis
chrubis@suse.cz
Wed Aug 12 14:34:26 CEST 2020
To get AF_EMPTY_PATH defined on older distros.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/crypto/af_alg07.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/crypto/af_alg07.c b/testcases/kernel/crypto/af_alg07.c
index efcdd0016..1e37f9858 100644
--- a/testcases/kernel/crypto/af_alg07.c
+++ b/testcases/kernel/crypto/af_alg07.c
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <pwd.h>
+#include "lapi/fcntl.h"
#include "tst_test.h"
#include "tst_af_alg.h"
--
2.26.2
More information about the ltp
mailing list