From mboxrd@z Thu Jan 1 00:00:00 1970 From: Khem Raj Date: Fri, 8 Jan 2016 08:11:33 +0000 Subject: [LTP] [PATCH 13/31] include fcntl.h for getting O_* definitions In-Reply-To: <1452240711-51180-1-git-send-email-raj.khem@gmail.com> References: <1452240711-51180-1-git-send-email-raj.khem@gmail.com> Message-ID: <1452240711-51180-13-git-send-email-raj.khem@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it musl exposes this issue, with glibc fcntl.h is included via some other header and this problem remained latent Signed-off-by: Khem Raj --- testcases/kernel/ipc/ipc_stress/shmem_test_03.c | 1 + testcases/kernel/syscalls/mq_notify/mq_notify01.c | 1 + testcases/network/tcp_cmds/sendfile/testsf_c.c | 1 + testcases/network/tcp_cmds/sendfile/testsf_s.c | 1 + 4 files changed, 4 insertions(+) diff --git a/testcases/kernel/ipc/ipc_stress/shmem_test_03.c b/testcases/kernel/ipc/ipc_stress/shmem_test_03.c index c1b11fd..8be156f 100644 --- a/testcases/kernel/ipc/ipc_stress/shmem_test_03.c +++ b/testcases/kernel/ipc/ipc_stress/shmem_test_03.c @@ -72,6 +72,7 @@ #include #include #include +#include #include #include #include diff --git a/testcases/kernel/syscalls/mq_notify/mq_notify01.c b/testcases/kernel/syscalls/mq_notify/mq_notify01.c index 4728c70..5c7846c 100644 --- a/testcases/kernel/syscalls/mq_notify/mq_notify01.c +++ b/testcases/kernel/syscalls/mq_notify/mq_notify01.c @@ -41,6 +41,7 @@ #include #include #include +#include #include "../utils/include_j_h.h" diff --git a/testcases/network/tcp_cmds/sendfile/testsf_c.c b/testcases/network/tcp_cmds/sendfile/testsf_c.c index 449784f..38d3274 100644 --- a/testcases/network/tcp_cmds/sendfile/testsf_c.c +++ b/testcases/network/tcp_cmds/sendfile/testsf_c.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/testcases/network/tcp_cmds/sendfile/testsf_s.c b/testcases/network/tcp_cmds/sendfile/testsf_s.c index 17e98ad..bce8dd1 100644 --- a/testcases/network/tcp_cmds/sendfile/testsf_s.c +++ b/testcases/network/tcp_cmds/sendfile/testsf_s.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include -- 2.7.0