Skip to content

Commit aa9d5af

Browse files
committed
Include sys/uio.h for writev
1 parent 6b15876 commit aa9d5af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/socket.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <fcntl.h>
2727
#include <sys/file.h> /* for FNONBLOCK on SVR4, hpux, ... */
2828
#include <sys/socket.h>
29+
#include <sys/uio.h>
2930
#include <signal.h> /* for killing resolver child process */
3031

3132
#if WIDECHAR

0 commit comments

Comments
 (0)