Skip to content
Browse files

various header file fixes for portability, most notably include <sys/…

…uio.h> when needed
  • Loading branch information...
1 parent 400a8db commit abb514e2fce4ac8daeb5e5a477f09918c54d5c99 @avsm committed Dec 3, 2011
Showing with 9 additions and 1 deletion.
  1. +1 −0 pipe_thr.c
  2. +2 −0 tcp_lat.c
  3. +5 −1 tcp_thr.c
  4. +1 −0 unix_thr.c
View
1 pipe_thr.c
@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/uio.h>
#include <errno.h>
#include <assert.h>
View
2 tcp_lat.c
@@ -37,6 +37,8 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
+
+#include <netinet/in.h>
#include <netinet/tcp.h>
#include "test.h"
View
6 tcp_thr.c
@@ -34,12 +34,16 @@
#include <inttypes.h>
#include <netdb.h>
#include <assert.h>
-#include <netinet/tcp.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/socket.h>
+#include <sys/uio.h>
#include <errno.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
+
#include "test.h"
#include "xutil.h"
View
1 unix_thr.c
@@ -37,6 +37,7 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/uio.h>
#include <errno.h>
#include "test.h"

0 comments on commit abb514e

Please sign in to comment.
Something went wrong with that request. Please try again.