jer         15/07/25 08:26:32

  Added:                netperf-2.7.0-includes.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-analyzer/netperf/files/netperf-2.7.0-includes.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/files/netperf-2.7.0-includes.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/files/netperf-2.7.0-includes.patch?rev=1.1&content-type=text/plain

Index: netperf-2.7.0-includes.patch
===================================================================
--- 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/"




Reply via email to