You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/netperf/files/netperf-2.7.0-includes.patch

23 lines
468 B

--- a/src/net_uuid.c
+++ b/src/net_uuid.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
+#include <unistd.h> /* read(), close() */
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
--- a/src/netlib.c
+++ b/src/netlib.c
@@ -81,6 +81,9 @@
#include <endian.h>
#endif
+#if defined(HAVE_SENDFILE)
+#include <sys/sendfile.h> /* sendfile() */
+#endif
#ifndef WIN32
/* at some point, I would like to get rid of all these "sys/"