forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxrootd-gcc44.patch
55 lines (46 loc) · 2.01 KB
/
xrootd-gcc44.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff -aur xrootd.orig/src/XrdBwm/XrdBwmHandle.cc xrootd/src/XrdBwm/XrdBwmHandle.cc
--- xrootd.orig/src/XrdBwm/XrdBwmHandle.cc 2011-06-08 15:37:12.000000000 +0200
+++ xrootd/src/XrdBwm/XrdBwmHandle.cc 2011-06-08 15:39:02.000000000 +0200
@@ -23,6 +23,7 @@
#include "XrdSys/XrdSysPlatform.hh"
#include "XProtocol/XProtocol.hh"
+#include <cstdio>
/******************************************************************************/
/* S t a t i c O b j e c t s */
diff -aur xrootd.orig/src/XrdCms/XrdCmsAdmin.cc xrootd/src/XrdCms/XrdCmsAdmin.cc
--- xrootd.orig/src/XrdCms/XrdCmsAdmin.cc 2011-06-08 15:37:12.000000000 +0200
+++ xrootd/src/XrdCms/XrdCmsAdmin.cc 2011-06-08 15:39:02.000000000 +0200
@@ -18,6 +18,7 @@
#include <limits.h>
#include <unistd.h>
#include <sys/types.h>
+#include <cstdio>
#include "XProtocol/YProtocol.hh"
diff -aur xrootd.orig/src/XrdCms/XrdCmsCache.cc xrootd/src/XrdCms/XrdCmsCache.cc
--- xrootd.orig/src/XrdCms/XrdCmsCache.cc 2011-06-08 15:37:12.000000000 +0200
+++ xrootd/src/XrdCms/XrdCmsCache.cc 2011-06-08 15:39:02.000000000 +0200
@@ -25,6 +25,7 @@
#include "Xrd/XrdJob.hh"
#include "Xrd/XrdScheduler.hh"
+#include <cstdio>
namespace XrdCms
{
diff -aur xrootd.orig/src/XrdCms/XrdCmsParser.cc xrootd/src/XrdCms/XrdCmsParser.cc
--- xrootd.orig/src/XrdCms/XrdCmsParser.cc 2011-06-08 15:37:12.000000000 +0200
+++ xrootd/src/XrdCms/XrdCmsParser.cc 2011-06-08 15:39:02.000000000 +0200
@@ -21,6 +21,7 @@
#include <string.h>
#include <netinet/in.h>
#include <sys/types.h>
+#include <cstdio>
#include "XrdCms/XrdCmsParser.hh"
#include "XrdCms/XrdCmsRRData.hh"
diff -aur xrootd.orig/src/XrdCms/XrdCmsResp.cc xrootd/src/XrdCms/XrdCmsResp.cc
--- xrootd.orig/src/XrdCms/XrdCmsResp.cc 2011-06-08 15:37:12.000000000 +0200
+++ xrootd/src/XrdCms/XrdCmsResp.cc 2011-06-08 15:39:02.000000000 +0200
@@ -27,6 +27,7 @@
#include "XrdNet/XrdNetBuffer.hh"
#include "XrdSfs/XrdSfsInterface.hh"
#include "XrdSys/XrdSysError.hh"
+#include <cstdio>
using namespace XrdCms;