Commit c645cc93 authored by Andrei Vagin's avatar Andrei Vagin

alpine: use sys/wait.h instead of wait.h

In file included from socket_listen.c:22:0:
/usr/include/wait.h:1:2: error: #warning redirecting incorrect #include <wait.h> to <sys/wait.h> [-Werror=cpp]
 #warning redirecting incorrect #include <wait.h> to <sys/wait.h>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent fb67fb14
......@@ -13,7 +13,7 @@ const char *test_author = "Cyrill Gorcunov <gorcunov@openvz.org>\n";
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h> /* for sockaddr_in and inet_ntoa() */
#include <wait.h>
#include <sys/wait.h>
static int port = 8880;
static char buf[64];
......
......@@ -16,7 +16,7 @@ const char *test_author = "Andrew Vagin <avagin@parallels.com>";
#include <errno.h>
#include <stdlib.h>
#include <aio.h>
#include <wait.h>
#include <sys/wait.h>
#include <netinet/tcp.h>
static int port = 8880;
......
......@@ -19,7 +19,7 @@ const char *test_author = "Stanislav Kinsbursky <skinsbursky@openvz.org>";
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <wait.h>
#include <sys/wait.h>
#include <netinet/tcp.h>
static int port = 8880;
......
......@@ -18,7 +18,7 @@ const char *test_author = "Pavel Emelyanov <xemul@parallels.com<>\n";
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h> /* for sockaddr_in and inet_ntoa() */
#include <wait.h>
#include <sys/wait.h>
static int port = 8880;
static char buf[8];
......
......@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h> /* for sockaddr_in and inet_ntoa() */
#include <wait.h>
#include <sys/wait.h>
#include "zdtmtst.h"
......
......@@ -18,7 +18,7 @@ const char *test_author = "Pavel Emelyanov <xemul@parallels.com<>\n";
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h> /* for sockaddr_in and inet_ntoa() */
#include <wait.h>
#include <sys/wait.h>
static int port = 8890;
static char buf[8];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment