selftests/ipc: Fix msgque compiler warnings
authorKees Cook <keescook@chromium.org>
Mon, 8 Apr 2019 17:13:44 +0000 (10:13 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 19 Apr 2019 23:18:00 +0000 (17:18 -0600)
commita147faa96f832f76e772b1e448e94ea84c774081
tree71ac764454f523ba76bc81308a27a22626daedc0
parentdff6d2ae56d0056261e2f7b19c4b96b86b893cd8
selftests/ipc: Fix msgque compiler warnings

This fixes the various compiler warnings when building the msgque
selftest. The primary change is using sys/msg.h instead of linux/msg.h
directly to gain the API declarations.

Fixes: 3a665531a3b7 ("selftests: IPC message queue copy feature test")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ipc/msgque.c