Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/netperf/files: netperf-2.7.0-includes.patch
Date: Sat, 25 Jul 2015 08:26:45
Message-Id: 20150725082632.A4BDAED@oystercatcher.gentoo.org
1 jer 15/07/25 08:26:32
2
3 Added: netperf-2.7.0-includes.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-analyzer/netperf/files/netperf-2.7.0-includes.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/files/netperf-2.7.0-includes.patch?rev=1.1&view=markup
13 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
14
15 Index: netperf-2.7.0-includes.patch
16 ===================================================================
17 --- a/src/net_uuid.c
18 +++ b/src/net_uuid.c
19 @@ -28,6 +28,7 @@
20 #include <stdlib.h>
21 #include <string.h>
22 #include <fcntl.h>
23 +#include <unistd.h> /* read(), close() */
24
25 #if defined(HAVE_INTTYPES_H)
26 #include <inttypes.h>
27 --- a/src/netlib.c
28 +++ b/src/netlib.c
29 @@ -81,6 +81,9 @@
30 #include <endian.h>
31 #endif
32
33 +#if defined(HAVE_SENDFILE)
34 +#include <sys/sendfile.h> /* sendfile() */
35 +#endif
36
37 #ifndef WIN32
38 /* at some point, I would like to get rid of all these "sys/"