Skip to content

Commit

Permalink
Add <sys/uio.h> where writev(2) is used.
Browse files Browse the repository at this point in the history
(cherry picked from commit 1837ef2)
  • Loading branch information
sobomax authored and razvancrainea committed Jul 26, 2018
1 parent 34bbead commit a91b701
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/cpl_c/cpl_loader.c
Expand Up @@ -33,7 +33,6 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
Expand Down
1 change: 1 addition & 0 deletions modules/db_flatstore/flatstore.c
Expand Up @@ -30,6 +30,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/uio.h>
#include <unistd.h>
#include "../../mem/mem.h"
#include "../../dprint.h"
Expand Down
1 change: 1 addition & 0 deletions modules/event_flatstore/event_flatstore.c
Expand Up @@ -28,6 +28,7 @@
#include <libgen.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/uio.h>

#include "event_flatstore.h"
#include "../../mem/mem.h"
Expand Down
1 change: 1 addition & 0 deletions modules/event_xmlrpc/xmlrpc_send.c
Expand Up @@ -30,6 +30,7 @@
#include "../../pt.h"
#include "xmlrpc_send.h"
#include "event_xmlrpc.h"
#include <sys/uio.h>
#include <fcntl.h>
#include <unistd.h>

Expand Down
1 change: 1 addition & 0 deletions modules/proto_ws/proto_ws.c
Expand Up @@ -27,6 +27,7 @@
#include <errno.h>
#include <unistd.h>
#include <netinet/tcp.h>
#include <sys/uio.h>
#include <poll.h>

#include "../../pt.h"
Expand Down
1 change: 1 addition & 0 deletions modules/proto_ws/ws_tcp.c
Expand Up @@ -29,6 +29,7 @@
#include "../../globals.h"
#include "../../tsend.h"
#include "ws_tcp.h"
#include <sys/uio.h>
#include <unistd.h>

/************** READ related functions ***************/
Expand Down
1 change: 1 addition & 0 deletions modules/proto_wss/proto_wss.c
Expand Up @@ -27,6 +27,7 @@
#include <errno.h>
#include <unistd.h>
#include <netinet/tcp.h>
#include <sys/uio.h>
#include <poll.h>

#include "../../pt.h"
Expand Down

0 comments on commit a91b701

Please sign in to comment.