From 3e4e9902d1564c56a1193b133c6dffded0dc29db Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 30 Apr 2014 09:08:27 +0200 Subject: [PATCH] Cleanup: work-around missing inet.h struct mmsghdr fwd declaration Removes build warning. Signed-off-by: Mathieu Desnoyers --- tests/hello/hello.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 0c18c01a..68c137ee 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -26,6 +26,11 @@ #include #include #include +/* + * Work-around inet.h missing struct mmsghdr forward declaration, with + * triggers a warning when system files warnings are enabled. + */ +struct mmsghdr; #include #include #include -- 2.34.1