ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/castor-2.1.7.14-gcc43.patch
Revision: 1.2
Committed: Tue May 5 02:06:06 2009 UTC (15 years, 11 months ago) by elmer
Branch: MAIN
CVS Tags: DBS_2_1_6-pre1, CmsTC_0_0_4, FRONTEND_CONF_3_30_20100724, FRONTEND_CONF_3_29_20100723, ge20100722-rpm-osx-64-bit, ge20100621-bootstrap-rpm-4-8-macosx, ge20100611-apt-rpm-4-8-gcc-4-5-0, MotT0_1_0_15, MotT0_1_0_14, MotT0_1_0_13, MotT0_1_0_12, MotT0_1_0_11, MotT0_1_0_10, MotT0_1_0_9, MotT0_1_0_8, MotT0_1_0_6, MotT0_1_0_5, MotT0_1_0_4, MotT0_1_0_3, MotT0_1_0_2, MotT0_1_0_1, MotT0_1_0_0, MotT0_100531_1, MotT0_100528_1, CMSSW_3_5_7_hltpatch4, apFor357hltp4v0, ge20100521b-new-rpm, ge20100521-new-rpm, DQMGUI_5_2_1, ge20100519-new-apt, T0Mon_100518_1, CMSSW_3_5_8_patch4, apFor358p4v3, apFor358p4v2, apFor358p4v1, apFor358p4v0, DQMGUI_5_2_0, CMSSW_3_5_8_patch3, apFor358p3v0, T0Mon_100503_1, CMSSW_3_5_8_patch2, apFor358p2v0, CMSSW_3_5_8_patch1, apFor358p1v1, apFor358p1v0, CMSSW_3_5_7_onlpatch2_ONLINE, ge20100427-rpm-on-linux, CMSSW_3_5_8, CMSSW_3_5_7_onlpatch1_ONLINE, CMSSW_3_5_7_ONLINE, apFor358v0, ge20100422-rpm-4-8-0, CMSSW_3_5_4_onlpatch4_ONLINE, fwFor357online, CMSSW_3_5_7, apFor357v2, apFor357v1, apFor357v0, CMSSW_3_5_6_patch1, for356p1, CMSSW_3_5_4_patch2, CMSSW_3_5_6, for356, for354p2, dsr20100326fwlite355osx, dsr20100326fwlite355, CMSSW_3_5_5, CMSSW_3_5_4_onlpatch3_ONLINE, apFor355v0, CMSSW_3_5_4_patch1, for354patch1, CMSSW_3_5_4_onlpatch2_ONLINE, CMSSW_3_5_4_onlpatch1_ONLINE, CMSSW_3_5_4_ONLINE, T0Mon_100316_1, DQMGUI_5_1_8, fwFor354onl, CMSSW_3_5_4, apFor354v0, T0Mon_100308_2, T0Mon_100308_1, CMSSW_3_5_3_ONLINE, fwFor353onl, CMSSW_3_5_3, apFor353v0, DAS_20100302_slc5_amd64_gcc434, sm100302a-for35X, wmtFor360pre2, fc20100228, pe20100228a-for36X, CMSSW_3_5_2_patch2, apFor352p2v0, CMSSW_3_5_2_patch1, apFor352p1v0, DBS_20100226_slc5_amd64_gcc434, fwFor352onl, CMSSW_3_5_1_onlpatch1_ONLINE, CMSSW_3_6_0_pre1, pe20100223c-for36X, pe20100223b-for36X, pe20100223a-for36X, CMSSW_3_5_2, apFor352v0, apFor351p2v0, CMSSW_3_5_1_patch1, for351patch1, CMSSW_3_5_1_ONLINE, DBS_20100217_slc5_amd64_gcc434, FILEMOVER_20100217_slc5_amd64_gcc434, FRONTEND_CONF_3_24_20100217, DAS_20100217_slc5_amd64_gcc434, dsr20100216fwlite350, DAS_20100216b_slc5_amd64_gcc434, CMSSW_3_5_1, T0Mon_100216_1, DAS_20100216_slc5_amd64_gcc434, pe20100216b-for36Xmin, pe20100216a-for36X, apFor351v0, ge20100215-rootqt-r522, ge20100215-rootqt-pre5r526, CMSSW_3_3_6_patch6, CMSSW_3_5_0_pre5r526, sm100215, ge20100212-boost, ge20100112-boost, T0Mon_100210_1, dsr20100209fwlite342, T0Mon_100204_4, DQMGUI_5_1_7b, CMSSW_3_5_0_patch1, CMSSW_3_4_2_patch1, T0Mon_100204_3, for350patch1, for342patch1, T0Mon_100204_2, CMSSW_3_5_0_ONLINE, CMSSW_3_4_2, fwFor350online, CMSSW_3_5_0, apFor350v0, CMSSW_3_3_6_patch5, pe20100205a-for35X, T0Mon_100204_1, apFor336p5v1, eskFor342, pe20100204a-for35X, DQMGUI_5_1_7, DQMGUI_5_1_6, CMSSW_3_3_6_patch4, apFor336p5v0, for341op1-onl-slc5, dg20100201-dbs3, FILEMOVER_20100201_slc5_amd64_gcc434, CMSSW_3_5_0_pre5_ONLINE, FILEMOVER_20100128b_slc5_amd64_gcc434, dg20100129-dbs3, for350p5-onl-slc5, pe20100131c-for35Xr526, pe20100131b-for35Xr526, pe20100131a-for35Xr526, CMSSW_3_5_0_pre5g493, pe20100130b-for35Xg493, pe20100130-for35Xg493, CMSSW_3_5_0_pre5, for350p4-onl-slc5, pe20100129a-for35X, CMSSW_3_5_0_pre4, for336patch4, apFor350pre5v0, dg20100128-dbs3, FILEMOVER_20100128_slc5_amd64_gcc434, sm100128a, sm100128, apFor350pre4v0, DAS_20100127_slc5_amd64_gcc434, pe20100127e-for35X, pe20100127d-for35X, T0Mon_100127_1, pe20100127c-for35X, sm100127-onl35x, CMSSW_3_4_1_ONLINE, pe20100127b-for35X, pe20100127a-for35X, DAS_20100126_slc5_amd64_gcc434, sm100126, pe20100124a-for35X, ap20100123a-for35X, FILEMOVER_20100122_slc5_amd64_gcc434, DAS_20100119_slc5_amd64_gcc434, CMSSW_3_3_3_TSG, CMSSW_3_5_0_pre3, DAS_20100115_slc5_amd64_gcc434, dg20100115-security, DBS_20100115_slc5_amd64_gcc434, apFor350pre3v0, sm100115-333tsg, pe20100113a-for35X, sm20100113a-for35X, sm20100113-for35X, pe20100112b-for35X, dg20100112-security, DBS_20100112_slc5_amd64_gcc434, sm20100112a-for35X, sm20100112-for35X, pe20100112-for35X, DBS_20100111_slc5_amd64_gcc434, dg20100111-security, dg20100107b-wmcore, dg20100107-wmcore, dsr20100107fwlite341, sm100107a, sm100106a, DAS_20100105_slc5_amd64_gcc434, sm100105c, sm100105b, pe20100105a-for34X-for35X, ge20100105-pyqt-relocatable-build, sm100105a, pe20091227a-ports, DAS_20091221_slc5_amd64_gcc434, CMSSW_3_5_0_pre2, CMSSW_3_4_1, apFor350pre2v2, apFor350pre2v1, apFor350pre2v0, eskFor341, CMSSW_3_3_6_patch3, apFor336p3v0, pe20091216b-for34X-for35X, pe20091216a-for34X-for35X, CMSSW_3_4_0, ge20091214b-new-bootstrap, ge20091214a-new-bootstrap, ge20091214-new-bootstrap, DAS_20091214_slc5_amd64_gcc434, ge20091214-fix-rh5x, CMSSW_3_5_0_pre1, CMSSW_3_3_6_patch1, apFor350pre1v0, eskFor336ptch1, eskFor340, dg20091211-couchdb, dg20091210-phedex, DQMGUI_5_1_5, pe20091209b-for34X-for35X, dg20091203c-comp-base, pe20091209a-for34X-for35X, DD_20091208_slc5_amd64_gcc434, DAS_20091208_slc5_amd64_gcc434, FILEMOVER_20091208_slc5_amd64_gcc434, DBS_20091208_slc5_amd64_gcc434, CMSSW_3_3_6, CMSSW_3_3_6_slc5-gcc434, apFor336v0-slc5-gcc434, apFor336v0, CMSSW_3_3_5_patch4, CMSSW_3_3_5_patch4_slc5-gcc434, apFor335p4v0-slc5-gcc434, apFor335p4-slc5-gcc434, apFor335p4v0, CMSSW_3_3_5_patch3, CMSSW_3_3_5_patch3_slc5-gcc434, apFor335p3v0-slc5-gcc434, apFor335p3v0, CMSSW_3_4_0_pre7, eskFor340p7-slc5-gcc434, CMSSW_3_3_5_patch2_slc5-gcc434, CMSSW_3_3_5_patch2, dg20091203b-comp-base, dg20091203-comp-base, CMSSW_3_3_3_onlpatch5_ONLINE, apFor335p2v0-slc5-gcc434, apFor335p2v0, CMSSW_3_3_5_patch1_slc5-gcc434, pe20091201a-for34X-slc5-gcc434, CMSSW_3_3_5_patch1, apFor335pat1v2-slc5-gcc434, apFor335pat1v2, apFor335pat1v1, apFor335pat1v1-slc5-gcc434, apFor335pat1v0-slc5-gcc434, apFor335pat1v0, DQMCATTEST_0_0_1, lsFor335patch1, lsFOR335patch1v0, pe20091130b-for34X-slc5-gcc434, pe20091130a-for34X-slc5-gcc434, CMSSW_3_3_5_slc5-gcc434, CMSSW_3_3_5, CMSSW_3_3_3_onlpatch4_ONLINE, apFor335v0, apFor335v0-sl5igcc4, pe20091126a-for33X-slc4-gcc345, pe20091126a-for33X-slc5-gcc434, CMSSW_3_1_6, bhFor316v0, CMSSW_3_3_3_onlpatch2_ONLINE, CMSSW_3_3_3_onlpatch3_ONLINE, pe20091120c-for34X-slc5-gcc434, CMSSW_3_4_0_pre6, pe20091120b-for34X-slc5-gcc434, pe20091120a-for34X-slc5-gcc434, DQMGUI_5_1_5_pre1, pe20091119b-for34X-slc5-gcc434, DQMGUI_5_1_4, pe20091119a-for34X-slc5-gcc434, CMSSW_3_3_4_slc5-gcc434, CMSSW_3_3_4, eskFor340p6-slc5-gcc434, apFor334v0-sl5igcc4, apFor334v0, DAS_20091117, CMSSW_3_3_3_DQM, apFor333dqmv0, pe20091116a-for34X-slc5-gcc434, CMSSW_3_3_3_patch1, CMSSW_3_3_3_slc5-gcc434, lmFor333pat1v0, CMSSW_3_3_3_ONLINE, fw20091114b, fw20091114a, pe20091114a-for34X-slc5-gcc434, ap20091114a, fw20091114, ap20091114, CMSSW_3_3_3, pe20091113c-for34X-slc5-gcc434, pe20091113c-for33X-slc5-gcc434, CMSSW_3_1_5, pe20091113b-for33X-slc5-gcc434, pe20091113a-for33X-slc5-gcc434, pe20091113a-for33X-slc4-gcc345, apFor333v1-sl5igcc4, apFor333v1-sl4igcc4, apFor333v1, apFor333v0_sl5igcc4, apFor333v0_sl4igcc4, apFor333v0, CMSSW_3_3_2_ONLINE-slc5, bhFor315v0, bhFor314v0, sm091112c-slc5onl, sm091112b-slc5onl, sm091112a-slc5onl, sm091112-slc5onl, T0Mon_091111_1, pe20091110c-34X-slc5-gcc434, pe20091110c-34X-slc4-gcc432, pe20091110c-for33X-slc5-gcc434, pe20091110c-for33X-slc4-gcc432, pe20091110c-for33X-slc4-gcc345, pe20091110b-for33X-slc5-gcc434, pe20091110b-for33X-slc4-gcc345, pe20091110b-for33X-slc4-gcc432, pe20091110a-for33X-slc5-gcc434, pe20091110a-for33X-slc4-gcc432, pe20091110a-for33X-slc4-gcc345, CMSSW_3_3_2_onlpatch2_ONLINE, CMSSW_3_3_2_ONLINE, CMSSW_3_3_2_onlpatch1_ONLINE, pe20091109a-for33X-slc4-gcc345, pe20091108c-34X-slc5-gcc434, pe20091108c-34X-slc4-gcc432, pe20091108b-34X-slc5-gcc434, pe20091108b-34X-slc4-gcc432, pe20091108a-34X-slc4-gcc432, ap20091107-slc5onl, CMSSW_3_4_0_pre5-slc5-gcc434, pe20091106a-34X-slc5-gcc434, pe20091106a-34X-slc4-gcc432, CMSSW_3_4_0_pre5-slc4-gcc432, CMSSW_3_4_0_pre4-slc4-gcc432, CMSSW_3_4_0_pre5-slc4_gcc432, dl091106, BUILDBOT_01, DQMGUI_5_1_3, DQMGUI_5_1_2, CERNOIDv02, pe20091103d-34X-slc5-gcc434, pe20091103d-34X-slc4-gcc432, pe20091103c-34X-slc5-gcc434, pe20091103c-34X-slc4-gcc432, pe20091103b-slc4-gcc432, ap-20091103a-slc5onl-bootstrap, pe20091103a-slc5-gcc434, pe20091103a-slc4-gcc432, pe20091103a--slc4-gcc432, pe20091103a-for34X, ap-20091103-slc5onl-bootstrap, DQMGUI_5_1_1, ge20091102-qt-conf, CMSSW_3_3_2_FWLITE-slc5-gcc434, apFor332fwlv1, apFor332fwlv1-slc5-gcc434, apFor332fwlv0, eskFor340p4, CMSSW_3_3_2-slc5-gcc434, CMSSW_3_3_2-slc4-gcc432, CMSSW_3_3_2, DQMGUI_5_1_0, pe20091031a-for34X, apFor332v0_sl4igcc4, apFor332v0_sl5igcc4, apFor332v0, pe20091030a-for34X, CMSSW_3_4_0_pre3, CouchDB_0_10_0, eskFor340p3, apFor331fwlv1-slc5gcc434, apFor331fwlv1, apFor331fwlv0, sm091023b-slc5onl, sm091023a-slc5onl, CMSSW_3_3_1-slc5-gcc434, CMSSW_3_3_1-slc4-gcc432, CMSSW_3_3_1, CMSSW_3_3_0_onlpatch2_ONLINE, CMSSW_3_2_7_onlpatch6_ONLINE, for330op2, for327op6, pe20091022a-ports, pe20091022a-ports5, pe20091022a-for33X, CMSSW_3_3_0_onlpatch1_ONLINE, pe20091021a-ports5, pe20091021a-ports, CMSSW_3_2_7_onlpatch5_ONLINE, pe20091021a-for33X, CMSSW_3_2_7_onlpatch4_ONLINE, CMSSW_3_4_0_pre2-432, CMSSW_3_4_0_pre1-432, CMSSW_3_4_0_pre2, pe20091018a-ports5, ge20091019, sm327op4, sm340p2, CMSSW_3_2_8, CERNOIDv01, ge20091015-comp-bootstrap, CMSSW_3_3_0-slc5, CMSSW_3_3_0-432, sjg091014a, WMCORE-before-refactor, CMSSW_3_3_0_ONLINE, sm091013a, sm091012c, sm091012b, sm091012a, CMSSW_3_2_7_onlpatch3_ONLINE, CMSSW_3_3_0, eskFor328, apFor330v0, pe20091009a-for33X, pe20091008d-ports5, pe20091008d-ports, pe20091008d-for33X, pe20091008c-ports5, ge20091008-fix-rpm-relocation, CMSSW_3_4_0_pre1, pe20091008b-ports5, pe20091008a-ports5, sm091007a, ge20091010-bootstrap, pe20091006e-ports5, ge20091006-bootstrap-3, pe20091006d-ports5, ge20091006-bootstrap-2, CMSSW_3_3_0_pre6-432, pe20091006c-ports5, ge20091006, pe20091006b-ports5, pe20091006a-ports5, pe20091006a-ports, pe20091006a-for33X, CMSSW_3_1_4, CMSSW_3_3_0_pre6, apFor330pre6v0, PerfSuiteDB_20090930, pe20090929a-ports, pe20090929a-for33X, ge20090929-amd64, ge20090929-ia32, ap20090929a-ports, ap20090929a-for33X, ap20090929-for33X, CMSSW_3_3_0_pre5-432, CMSSW_3_2_7_onlpatch2_ONLINE, sm090928a, CMSSW_3_3_0_pre5, apFor330pre5v0, pe20090925a-ports, pe20090925a-for33X, pe20090924b-for33X, pe20090924a-ports, pe20090924a-for33X, CMSSW_3_1_3, pe20090923b-for33X, pe20090923b-ports, CMSSW_3_2_7_onlpatch1_ONLINE, CMSSW_3_2_7_ONLINE, sm090923a, pe20090923a-ports, pe20090923a-for33X, pe20090922e-ports, pe20090922e-for33X, pe20090922d-ports, pe20090922c-ports, pe20090922c-for33X, pe20090922b-ports, pe20090922a-ports, pe20090922a-for33X, ge20090922-ports, sm090922a, CMSSW_3_2_7, pe20090921d-ports, pe20090921d-for33X, ge20090921-ports, pe20090921c-ports, pe20090921c-for33X, pe20090921b-for33X, pe20090921a-ports, CMSSW_3_3_0_pre4, apFor330pre4v0, eskFor327, pe20090918a-ports, PerfSuiteDB_20090916, pe20090912a-ports-xdaq, pe20090911a-ports-xdaq, CMSSW_3_3_0_pre3, apFor330pre3v0, pe20090907a-ports, pe20090907a-for33X, CMSSW_3_3_0_pre2, apFor330pre2v1, apFor330pre2v0, CMSSW_3_2_6, PerfSuiteDB_20090904_almost_stable, pe20090904a-ports, pe20090904a-for33X, PerfSuiteDB_20090904, pe20090903b-for33X, eskFor326, pe20090903b-ports, pe20090903a-ports, pe20090903-for33X, PerfSuiteDB_20090901, CMSSW_3_3_0_pre1, CMSSW_3_2_1_onlpatch6_ONLINE, sm090829a, forHEARTBEATr04, esk090827, pe20090827a-ports, pe20090827a-33X, pe20090826a-33X, CMSSW_3_2_1_onlpatch5_ONLINE, pe20090826a-ports, RPMVERIFY_0_2, sm090826a, forHEARTBEATr01, CMSSW_3_2_5, smFor325v0, eskFor325, CMSSW_3_2_1_onlpatch4_ONLINE, sm090818a, CMSSW_3_2_4_ONLINE, sm090813e, CMSSW_3_2_4_patch1, CMSSW_3_2_4, sm090813d, sm090813c, sm090813b, sm324p1a, sm090813a, CMSSW_3_2_1_onlpatch3_ONLINE, sm090810a, CMSSW_3_2_1_onlpatch2_ONLINE, sm090806a, CMSSW_3_2_3, apFor323v1, apFor323v0, DQMGUI_5_0_2, DQMGUI_5_0_1, DQMGUI_5_0_0, CMSSW_3_2_1_onlpatch1_ONLINE, CMSSW_3_2_2_patch2, apFor321onlp1v1, apFor321onlp1v0, apFor322patch2v0, CMSSW_3_2_2_patch1, apFor322pa1v0, CMSSW_3_2_2, CMSSW_3_1_2, CMSSW_3_2_1-432, apFor322v0, dl090723, pe20090722b-31Xports-432, pe20090722a-31Xports-432, CMSSW_3_2_1_ONLINE, CMSSW_3_2_1, sm090721b, sm090721a, apFor321v0, sm090720b, sm090720a, apFor320onlv1, apFor320onlv0, CMSSW_3_2_0, apFor320v1, apFor320v0, CMSSW_3_1_1_patch1, sm090716a_off, CMSSW_3_1_1_onlpatch3_ONLINE, sm090716a, CMSSW_3_1_1_onlpatch2_ONLINE, sm090715c, sm090715b, sm090715a, CMSSW_3_ONLINE_BOOTSTRAP, sm090709a, CMSSW_3_1_1_onlpatch1_ONLINE, sm090708g, CMSSW_3_1_1_ONLINE, CMSSW_3_1_1_reallyThisTime, sm090708f, sm090708e, sm090708d, sm090708c, sm090708b, CMSSW_3_1_0_ONLINE2, sm090708a, CMSSW_3_1_1, dl090707, pe20090707c-31Xports-432, pe20090707b-31Xports-432, pe20090707a-31Xports-432, pe20090706b-31Xports-432, pe20090706a-31Xports-432, CMSSW_3_1_0_onlpatch1_ONLINE, sm090703a, CMSSW_2_2_13_offpatch1, apFor2213offpatch1v0, CMSSW_3_1_0_patch1, pe20090701a-31Xports-432, CMSSW_3_1_0_ONLINE, sm090701b, CMSSW_3_1_0, sm090701a, CMSSW_3_1_0_pre11, CMSSW_2_2_13_FWLITE, apFor2213fwlitev0, dl090623, CMSSW_3_1_0_pre10_ONLINE, sm090621b, sm090621a, sm090620b, sm090620a, sm090619e, sm090619d, sm090619c, sm090619b, sm090619a, sm090618a, CMSSW_3_1_0_pre10-432, pe20090616a-31Xports-432, pe20090615a-31Xports-432, CMSSW_3_1_0_pre10, dl090611, CMSSW_3_1_0_pre9, pe20090611c-31Xports-432, pe20090611b-31Xports-432, pe20090611a-31Xports-432, pe20090610d-31Xports-432, pe20090610c-31Xports-432, pe20090610b-31Xports-432, pe20090610a-31Xports-432, CMSSW_2_2_13_HLT, apFor2213hltv0, CMSSW_2_2_13, apFor2213v0, pe20090604a-31Xports-432, CMSSW_2_2_12_HLT, CMSSW_2_2_12, apFor2212hltv0, CMSSW_3_1_0_pre8, apFor2212v2, apFor2212v1, apFor2212v0, apFor2211off1v0, CMSSW_2_2_11_offpatch1, pe20090526a-31Xports-432, pe20090525b-31Xports-432, pe20090525a-31Xports-432, dl090520t2, ap20090520-osx105, ap20090519-osx105, CMSSW_2_2_11, CMSSW_2_2_11_HLT, apFor2211v1, apFor2211hltv0, apFor2211v0, pe20090514b-31Xports-432, pe20090514a-31Xports-432, CMSSW_2_2_10_HLT, pe20090512a-31Xports-432, apFor2210hltv0, pe20090511a-31Xports-432, CMSSW_2_2_10, apFor2210v0, pe20090505b-31Xports-432, pe20090505a-31Xports-432
Changes since 1.1: +782 -0 lines
Log Message:
Add a number of other include fixes for gcc4.3 (all cstring, cstdlib or
sys/types.h)

File Contents

# User Rev Content
1 elmer 1.1 diff -Naur orig.CASTOR2/castor/BaseAddressCInt.cpp CASTOR2/castor/BaseAddressCInt.cpp
2     --- orig.CASTOR2/castor/BaseAddressCInt.cpp 2006-08-02 17:30:58.000000000 +0200
3     +++ CASTOR2/castor/BaseAddressCInt.cpp 2009-05-05 02:00:39.000000000 +0200
4     @@ -31,6 +31,7 @@
5     #include "castor/IAddress.hpp"
6     #include "castor/IObject.hpp"
7     #include "osdep.h"
8     +#include <cstring>
9    
10     extern "C" {
11    
12     diff -Naur orig.CASTOR2/castor/dlf/Param.hpp CASTOR2/castor/dlf/Param.hpp
13     --- orig.CASTOR2/castor/dlf/Param.hpp 2008-06-04 10:59:15.000000000 +0200
14     +++ CASTOR2/castor/dlf/Param.hpp 2009-05-05 01:54:23.000000000 +0200
15     @@ -33,6 +33,8 @@
16     #include "castor/stager/TapeVid.hpp"
17     #include "castor/dlf/IPAddress.hpp"
18     #include "castor/dlf/TimeStamp.hpp"
19     +#include <cstring>
20     +#include <cstdlib>
21    
22     namespace castor {
23    
24 elmer 1.2 diff -Naur orig.CASTOR2/castor/IClientFactoryCInt.cpp CASTOR2/castor/IClientFactoryCInt.cpp
25     --- orig.CASTOR2/castor/IClientFactoryCInt.cpp 2005-01-04 14:22:35.000000000 +0100
26     +++ CASTOR2/castor/IClientFactoryCInt.cpp 2009-05-05 02:14:10.000000000 +0200
27     @@ -28,6 +28,7 @@
28     #include "castor/IClientFactory.hpp"
29     #include "castor/exception/Exception.hpp"
30     #include <string>
31     +#include <cstring>
32    
33     extern "C" {
34    
35     diff -Naur orig.CASTOR2/castor/io/biniostream.h CASTOR2/castor/io/biniostream.h
36     --- orig.CASTOR2/castor/io/biniostream.h 2007-09-04 18:02:21.000000000 +0200
37     +++ CASTOR2/castor/io/biniostream.h 2009-05-05 02:18:26.000000000 +0200
38     @@ -27,6 +27,8 @@
39     #ifndef IO_BINIOSTREAM_H
40     #define IO_BINIOSTREAM_H 1
41    
42     +#include <cstring>
43     +#include <cstdlib>
44     #include <sstream>
45     #include <byteswap.h>
46     #include "osdep.h"
47 elmer 1.1 diff -Naur orig.CASTOR2/castor/logbuf.h CASTOR2/castor/logbuf.h
48     --- orig.CASTOR2/castor/logbuf.h 2005-02-17 11:56:44.000000000 +0100
49     +++ CASTOR2/castor/logbuf.h 2009-05-05 01:52:50.000000000 +0200
50     @@ -33,6 +33,8 @@
51     #include "Cuuid.h"
52     #include "Cns_api.h"
53     #include "dlf_api.h"
54     +#include <cstring>
55     +#include <cstdlib>
56    
57     namespace castor {
58    
59 elmer 1.2 diff -Naur orig.CASTOR2/castor/MessageAckCInt.cpp CASTOR2/castor/MessageAckCInt.cpp
60     --- orig.CASTOR2/castor/MessageAckCInt.cpp 2006-08-02 17:30:58.000000000 +0200
61     +++ CASTOR2/castor/MessageAckCInt.cpp 2009-05-05 02:13:43.000000000 +0200
62     @@ -30,6 +30,7 @@
63     #include "castor/IObject.hpp"
64     #include "castor/MessageAck.hpp"
65     #include "osdep.h"
66     +#include <cstring>
67    
68     extern "C" {
69    
70     diff -Naur orig.CASTOR2/castor/query/DiskPoolQueryCInt.cpp CASTOR2/castor/query/DiskPoolQueryCInt.cpp
71     --- orig.CASTOR2/castor/query/DiskPoolQueryCInt.cpp 2006-08-02 17:31:41.000000000 +0200
72     +++ CASTOR2/castor/query/DiskPoolQueryCInt.cpp 2009-05-05 03:46:20.000000000 +0200
73     @@ -33,6 +33,7 @@
74     #include "castor/stager/Request.hpp"
75     #include "castor/stager/SvcClass.hpp"
76     #include "osdep.h"
77     +#include <cstring>
78    
79     extern "C" {
80    
81     diff -Naur orig.CASTOR2/castor/query/DiskPoolQueryResponseCInt.cpp CASTOR2/castor/query/DiskPoolQueryResponseCInt.cpp
82     --- orig.CASTOR2/castor/query/DiskPoolQueryResponseCInt.cpp 2007-04-25 12:17:04.000000000 +0200
83     +++ CASTOR2/castor/query/DiskPoolQueryResponseCInt.cpp 2009-05-05 03:46:06.000000000 +0200
84     @@ -33,6 +33,8 @@
85     #include "castor/rh/Response.hpp"
86     #include "osdep.h"
87     #include <vector>
88     +#include <cstring>
89     +#include <cstdlib>
90    
91     extern "C" {
92    
93     diff -Naur orig.CASTOR2/castor/query/DiskServerDescriptionCInt.cpp CASTOR2/castor/query/DiskServerDescriptionCInt.cpp
94     --- orig.CASTOR2/castor/query/DiskServerDescriptionCInt.cpp 2007-04-25 14:38:02.000000000 +0200
95     +++ CASTOR2/castor/query/DiskServerDescriptionCInt.cpp 2009-05-05 03:47:31.000000000 +0200
96     @@ -33,6 +33,8 @@
97     #include "castor/query/FileSystemDescription.hpp"
98     #include "osdep.h"
99     #include <vector>
100     +#include <cstring>
101     +#include <cstdlib>
102    
103     extern "C" {
104    
105     diff -Naur orig.CASTOR2/castor/query/FileSystemDescriptionCInt.cpp CASTOR2/castor/query/FileSystemDescriptionCInt.cpp
106     --- orig.CASTOR2/castor/query/FileSystemDescriptionCInt.cpp 2007-04-26 10:50:06.000000000 +0200
107     +++ CASTOR2/castor/query/FileSystemDescriptionCInt.cpp 2009-05-05 03:47:06.000000000 +0200
108     @@ -31,6 +31,7 @@
109     #include "castor/query/DiskServerDescription.hpp"
110     #include "castor/query/FileSystemDescription.hpp"
111     #include "osdep.h"
112     +#include <cstring>
113    
114     extern "C" {
115    
116     diff -Naur orig.CASTOR2/castor/rh/AbortResponseCInt.cpp CASTOR2/castor/rh/AbortResponseCInt.cpp
117     --- orig.CASTOR2/castor/rh/AbortResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
118     +++ CASTOR2/castor/rh/AbortResponseCInt.cpp 2009-05-05 02:30:44.000000000 +0200
119     @@ -31,6 +31,7 @@
120     #include "castor/rh/AbortResponse.hpp"
121     #include "castor/rh/Response.hpp"
122     #include "osdep.h"
123     +#include <cstring>
124    
125     extern "C" {
126    
127     diff -Naur orig.CASTOR2/castor/rh/BasicResponseCInt.cpp CASTOR2/castor/rh/BasicResponseCInt.cpp
128     --- orig.CASTOR2/castor/rh/BasicResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
129     +++ CASTOR2/castor/rh/BasicResponseCInt.cpp 2009-05-05 02:39:00.000000000 +0200
130     @@ -31,6 +31,7 @@
131     #include "castor/rh/BasicResponse.hpp"
132     #include "castor/rh/Response.hpp"
133     #include "osdep.h"
134     +#include <cstring>
135    
136     extern "C" {
137    
138     diff -Naur orig.CASTOR2/castor/rh/EndResponseCInt.cpp CASTOR2/castor/rh/EndResponseCInt.cpp
139     --- orig.CASTOR2/castor/rh/EndResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
140     +++ CASTOR2/castor/rh/EndResponseCInt.cpp 2009-05-05 02:22:03.000000000 +0200
141     @@ -31,6 +31,7 @@
142     #include "castor/rh/EndResponse.hpp"
143     #include "castor/rh/Response.hpp"
144     #include "osdep.h"
145     +#include <cstring>
146    
147     extern "C" {
148    
149     diff -Naur orig.CASTOR2/castor/rh/FileQryResponseCInt.cpp CASTOR2/castor/rh/FileQryResponseCInt.cpp
150     --- orig.CASTOR2/castor/rh/FileQryResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
151     +++ CASTOR2/castor/rh/FileQryResponseCInt.cpp 2009-05-05 02:32:20.000000000 +0200
152     @@ -31,6 +31,7 @@
153     #include "castor/rh/FileQryResponse.hpp"
154     #include "castor/rh/Response.hpp"
155     #include "osdep.h"
156     +#include <cstring>
157    
158     extern "C" {
159    
160     diff -Naur orig.CASTOR2/castor/rh/FileResponseCInt.cpp CASTOR2/castor/rh/FileResponseCInt.cpp
161     --- orig.CASTOR2/castor/rh/FileResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
162     +++ CASTOR2/castor/rh/FileResponseCInt.cpp 2009-05-05 02:24:05.000000000 +0200
163     @@ -31,6 +31,7 @@
164     #include "castor/rh/FileResponse.hpp"
165     #include "castor/rh/Response.hpp"
166     #include "osdep.h"
167     +#include <cstring>
168    
169     extern "C" {
170    
171     diff -Naur orig.CASTOR2/castor/rh/FindReqResponseCInt.cpp CASTOR2/castor/rh/FindReqResponseCInt.cpp
172     --- orig.CASTOR2/castor/rh/FindReqResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
173     +++ CASTOR2/castor/rh/FindReqResponseCInt.cpp 2009-05-05 02:37:19.000000000 +0200
174     @@ -31,6 +31,7 @@
175     #include "castor/rh/FindReqResponse.hpp"
176     #include "castor/rh/Response.hpp"
177     #include "osdep.h"
178     +#include <cstring>
179    
180     extern "C" {
181    
182     diff -Naur orig.CASTOR2/castor/rh/GCFilesResponseCInt.cpp CASTOR2/castor/rh/GCFilesResponseCInt.cpp
183     --- orig.CASTOR2/castor/rh/GCFilesResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
184     +++ CASTOR2/castor/rh/GCFilesResponseCInt.cpp 2009-05-05 02:26:01.000000000 +0200
185     @@ -33,6 +33,8 @@
186     #include "castor/stager/GCLocalFile.hpp"
187     #include "osdep.h"
188     #include <vector>
189     +#include <cstring>
190     +#include <cstdlib>
191    
192     extern "C" {
193    
194     diff -Naur orig.CASTOR2/castor/rh/GetUpdateStartResponseCInt.cpp CASTOR2/castor/rh/GetUpdateStartResponseCInt.cpp
195     --- orig.CASTOR2/castor/rh/GetUpdateStartResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
196     +++ CASTOR2/castor/rh/GetUpdateStartResponseCInt.cpp 2009-05-05 02:24:18.000000000 +0200
197     @@ -35,6 +35,8 @@
198     #include "castor/stager/DiskCopyForRecall.hpp"
199     #include "osdep.h"
200     #include <vector>
201     +#include <cstring>
202     +#include <cstdlib>
203    
204     extern "C" {
205    
206     diff -Naur orig.CASTOR2/castor/rh/IOResponseCInt.cpp CASTOR2/castor/rh/IOResponseCInt.cpp
207     --- orig.CASTOR2/castor/rh/IOResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
208     +++ CASTOR2/castor/rh/IOResponseCInt.cpp 2009-05-05 02:37:05.000000000 +0200
209     @@ -32,6 +32,7 @@
210     #include "castor/rh/IOResponse.hpp"
211     #include "castor/rh/Response.hpp"
212     #include "osdep.h"
213     +#include <cstring>
214    
215     extern "C" {
216    
217     diff -Naur orig.CASTOR2/castor/rh/RequestQueryResponseCInt.cpp CASTOR2/castor/rh/RequestQueryResponseCInt.cpp
218     --- orig.CASTOR2/castor/rh/RequestQueryResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
219     +++ CASTOR2/castor/rh/RequestQueryResponseCInt.cpp 2009-05-05 02:37:24.000000000 +0200
220     @@ -31,6 +31,7 @@
221     #include "castor/rh/RequestQueryResponse.hpp"
222     #include "castor/rh/Response.hpp"
223     #include "osdep.h"
224     +#include <cstring>
225    
226     extern "C" {
227    
228     diff -Naur orig.CASTOR2/castor/rh/ResponseCInt.cpp CASTOR2/castor/rh/ResponseCInt.cpp
229     --- orig.CASTOR2/castor/rh/ResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
230     +++ CASTOR2/castor/rh/ResponseCInt.cpp 2009-05-05 02:26:07.000000000 +0200
231     @@ -29,6 +29,7 @@
232     // Include Files
233     #include "castor/IObject.hpp"
234     #include "castor/rh/Response.hpp"
235     +#include <cstring>
236    
237     extern "C" {
238    
239     diff -Naur orig.CASTOR2/castor/rh/StartResponseCInt.cpp CASTOR2/castor/rh/StartResponseCInt.cpp
240     --- orig.CASTOR2/castor/rh/StartResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
241     +++ CASTOR2/castor/rh/StartResponseCInt.cpp 2009-05-05 02:20:23.000000000 +0200
242     @@ -32,6 +32,7 @@
243     #include "castor/rh/StartResponse.hpp"
244     #include "castor/stager/DiskCopy.hpp"
245     #include "osdep.h"
246     +#include <cstring>
247    
248     extern "C" {
249    
250     diff -Naur orig.CASTOR2/castor/rh/StringResponseCInt.cpp CASTOR2/castor/rh/StringResponseCInt.cpp
251     --- orig.CASTOR2/castor/rh/StringResponseCInt.cpp 2006-08-18 14:14:57.000000000 +0200
252     +++ CASTOR2/castor/rh/StringResponseCInt.cpp 2009-05-05 02:30:56.000000000 +0200
253     @@ -31,6 +31,7 @@
254     #include "castor/rh/Response.hpp"
255     #include "castor/rh/StringResponse.hpp"
256     #include "osdep.h"
257     +#include <cstring>
258    
259     extern "C" {
260    
261     diff -Naur orig.CASTOR2/castor/sharedMemory/BlockKey.hpp CASTOR2/castor/sharedMemory/BlockKey.hpp
262     --- orig.CASTOR2/castor/sharedMemory/BlockKey.hpp 2007-04-10 18:23:01.000000000 +0200
263     +++ CASTOR2/castor/sharedMemory/BlockKey.hpp 2009-05-05 04:01:48.000000000 +0200
264     @@ -28,6 +28,8 @@
265     #define SHAREDMEMORY_BLOCKKEY_HPP 1
266    
267     #include <memory>
268     +#include <sys/types.h>
269     +#include <iostream>
270    
271     namespace castor {
272    
273     diff -Naur orig.CASTOR2/castor/stager/CastorFileCInt.cpp CASTOR2/castor/stager/CastorFileCInt.cpp
274     --- orig.CASTOR2/castor/stager/CastorFileCInt.cpp 2008-06-13 16:37:13.000000000 +0200
275     +++ CASTOR2/castor/stager/CastorFileCInt.cpp 2009-05-05 02:41:41.000000000 +0200
276     @@ -35,6 +35,8 @@
277     #include "castor/stager/TapeCopy.hpp"
278     #include "osdep.h"
279     #include <vector>
280     +#include <cstring>
281     +#include <cstdlib>
282    
283     extern "C" {
284    
285     diff -Naur orig.CASTOR2/castor/stager/DiskCopyCInt.cpp CASTOR2/castor/stager/DiskCopyCInt.cpp
286     --- orig.CASTOR2/castor/stager/DiskCopyCInt.cpp 2008-07-14 15:51:43.000000000 +0200
287     +++ CASTOR2/castor/stager/DiskCopyCInt.cpp 2009-05-05 02:41:44.000000000 +0200
288     @@ -35,6 +35,8 @@
289     #include "castor/stager/SubRequest.hpp"
290     #include "osdep.h"
291     #include <vector>
292     +#include <cstring>
293     +#include <cstdlib>
294    
295     extern "C" {
296    
297     diff -Naur orig.CASTOR2/castor/stager/DiskCopyForRecallCInt.cpp CASTOR2/castor/stager/DiskCopyForRecallCInt.cpp
298     --- orig.CASTOR2/castor/stager/DiskCopyForRecallCInt.cpp 2008-07-14 15:51:43.000000000 +0200
299     +++ CASTOR2/castor/stager/DiskCopyForRecallCInt.cpp 2009-05-05 02:43:51.000000000 +0200
300     @@ -36,6 +36,8 @@
301     #include "castor/stager/SubRequest.hpp"
302     #include "osdep.h"
303     #include <vector>
304     +#include <cstring>
305     +#include <cstdlib>
306    
307     extern "C" {
308    
309     diff -Naur orig.CASTOR2/castor/stager/DiskPoolCInt.cpp CASTOR2/castor/stager/DiskPoolCInt.cpp
310     --- orig.CASTOR2/castor/stager/DiskPoolCInt.cpp 2006-08-02 17:32:17.000000000 +0200
311     +++ CASTOR2/castor/stager/DiskPoolCInt.cpp 2009-05-05 02:43:56.000000000 +0200
312     @@ -33,6 +33,8 @@
313     #include "castor/stager/SvcClass.hpp"
314     #include "osdep.h"
315     #include <vector>
316     +#include <cstring>
317     +#include <cstdlib>
318    
319     extern "C" {
320    
321     diff -Naur orig.CASTOR2/castor/stager/DiskServerCInt.cpp CASTOR2/castor/stager/DiskServerCInt.cpp
322     --- orig.CASTOR2/castor/stager/DiskServerCInt.cpp 2007-05-07 18:10:36.000000000 +0200
323     +++ CASTOR2/castor/stager/DiskServerCInt.cpp 2009-05-05 02:45:31.000000000 +0200
324     @@ -34,6 +34,8 @@
325     #include "castor/stager/FileSystem.hpp"
326     #include "osdep.h"
327     #include <vector>
328     +#include <cstring>
329     +#include <cstdlib>
330    
331     extern "C" {
332    
333     diff -Naur orig.CASTOR2/castor/stager/FileClassCInt.cpp CASTOR2/castor/stager/FileClassCInt.cpp
334     --- orig.CASTOR2/castor/stager/FileClassCInt.cpp 2008-06-02 15:19:30.000000000 +0200
335     +++ CASTOR2/castor/stager/FileClassCInt.cpp 2009-05-05 02:49:22.000000000 +0200
336     @@ -30,6 +30,7 @@
337     #include "castor/IObject.hpp"
338     #include "castor/stager/FileClass.hpp"
339     #include "osdep.h"
340     +#include <cstring>
341    
342     extern "C" {
343    
344     diff -Naur orig.CASTOR2/castor/stager/FileRequestCInt.cpp CASTOR2/castor/stager/FileRequestCInt.cpp
345     --- orig.CASTOR2/castor/stager/FileRequestCInt.cpp 2006-08-02 17:32:18.000000000 +0200
346     +++ CASTOR2/castor/stager/FileRequestCInt.cpp 2009-05-05 02:49:26.000000000 +0200
347     @@ -35,6 +35,8 @@
348     #include "castor/stager/SvcClass.hpp"
349     #include "osdep.h"
350     #include <vector>
351     +#include <cstring>
352     +#include <cstdlib>
353    
354     extern "C" {
355    
356     diff -Naur orig.CASTOR2/castor/stager/FileSystemCInt.cpp CASTOR2/castor/stager/FileSystemCInt.cpp
357     --- orig.CASTOR2/castor/stager/FileSystemCInt.cpp 2008-03-14 11:01:23.000000000 +0100
358     +++ CASTOR2/castor/stager/FileSystemCInt.cpp 2009-05-05 02:49:23.000000000 +0200
359     @@ -36,6 +36,8 @@
360     #include "castor/stager/FileSystemStatusCodes.hpp"
361     #include "osdep.h"
362     #include <vector>
363     +#include <cstring>
364     +#include <cstdlib>
365    
366     extern "C" {
367    
368     diff -Naur orig.CASTOR2/castor/stager/GetUpdateDoneCInt.cpp CASTOR2/castor/stager/GetUpdateDoneCInt.cpp
369     --- orig.CASTOR2/castor/stager/GetUpdateDoneCInt.cpp 2008-02-21 15:21:02.000000000 +0100
370     +++ CASTOR2/castor/stager/GetUpdateDoneCInt.cpp 2009-05-05 02:52:56.000000000 +0200
371     @@ -33,6 +33,7 @@
372     #include "castor/stager/Request.hpp"
373     #include "castor/stager/SvcClass.hpp"
374     #include "osdep.h"
375     +#include <cstring>
376    
377     extern "C" {
378    
379     diff -Naur orig.CASTOR2/castor/stager/GetUpdateFailedCInt.cpp CASTOR2/castor/stager/GetUpdateFailedCInt.cpp
380     --- orig.CASTOR2/castor/stager/GetUpdateFailedCInt.cpp 2008-02-21 15:21:02.000000000 +0100
381     +++ CASTOR2/castor/stager/GetUpdateFailedCInt.cpp 2009-05-05 02:52:01.000000000 +0200
382     @@ -33,6 +33,7 @@
383     #include "castor/stager/Request.hpp"
384     #include "castor/stager/SvcClass.hpp"
385     #include "osdep.h"
386     +#include <cstring>
387    
388     extern "C" {
389    
390     diff -Naur orig.CASTOR2/castor/stager/GetUpdateStartRequestCInt.cpp CASTOR2/castor/stager/GetUpdateStartRequestCInt.cpp
391     --- orig.CASTOR2/castor/stager/GetUpdateStartRequestCInt.cpp 2008-02-27 10:34:56.000000000 +0100
392     +++ CASTOR2/castor/stager/GetUpdateStartRequestCInt.cpp 2009-05-05 02:52:31.000000000 +0200
393     @@ -34,6 +34,7 @@
394     #include "castor/stager/StartRequest.hpp"
395     #include "castor/stager/SvcClass.hpp"
396     #include "osdep.h"
397     +#include <cstring>
398    
399     extern "C" {
400    
401     diff -Naur orig.CASTOR2/castor/stager/ITapeSvcCInt.cpp CASTOR2/castor/stager/ITapeSvcCInt.cpp
402     --- orig.CASTOR2/castor/stager/ITapeSvcCInt.cpp 2007-08-13 17:20:17.000000000 +0200
403     +++ CASTOR2/castor/stager/ITapeSvcCInt.cpp 2009-05-05 02:58:49.000000000 +0200
404     @@ -31,6 +31,8 @@
405     #include <errno.h>
406     #include <string>
407     #include <fcntl.h>
408     +#include <cstring>
409     +#include <cstdlib>
410    
411     extern "C" {
412    
413     diff -Naur orig.CASTOR2/castor/stager/MoverCloseRequestCInt.cpp CASTOR2/castor/stager/MoverCloseRequestCInt.cpp
414     --- orig.CASTOR2/castor/stager/MoverCloseRequestCInt.cpp 2008-02-21 16:20:02.000000000 +0100
415     +++ CASTOR2/castor/stager/MoverCloseRequestCInt.cpp 2009-05-05 02:56:07.000000000 +0200
416     @@ -33,6 +33,7 @@
417     #include "castor/stager/Request.hpp"
418     #include "castor/stager/SvcClass.hpp"
419     #include "osdep.h"
420     +#include <cstring>
421    
422     extern "C" {
423    
424     diff -Naur orig.CASTOR2/castor/stager/PutDoneStartCInt.cpp CASTOR2/castor/stager/PutDoneStartCInt.cpp
425     --- orig.CASTOR2/castor/stager/PutDoneStartCInt.cpp 2008-02-27 10:34:56.000000000 +0100
426     +++ CASTOR2/castor/stager/PutDoneStartCInt.cpp 2009-05-05 03:01:14.000000000 +0200
427     @@ -34,6 +34,7 @@
428     #include "castor/stager/StartRequest.hpp"
429     #include "castor/stager/SvcClass.hpp"
430     #include "osdep.h"
431     +#include <cstring>
432    
433     extern "C" {
434    
435     diff -Naur orig.CASTOR2/castor/stager/PutFailedCInt.cpp CASTOR2/castor/stager/PutFailedCInt.cpp
436     --- orig.CASTOR2/castor/stager/PutFailedCInt.cpp 2008-02-21 15:21:02.000000000 +0100
437     +++ CASTOR2/castor/stager/PutFailedCInt.cpp 2009-05-05 03:03:37.000000000 +0200
438     @@ -33,6 +33,7 @@
439     #include "castor/stager/Request.hpp"
440     #include "castor/stager/SvcClass.hpp"
441     #include "osdep.h"
442     +#include <cstring>
443    
444     extern "C" {
445    
446     diff -Naur orig.CASTOR2/castor/stager/PutStartRequestCInt.cpp CASTOR2/castor/stager/PutStartRequestCInt.cpp
447     --- orig.CASTOR2/castor/stager/PutStartRequestCInt.cpp 2008-02-27 10:34:56.000000000 +0100
448     +++ CASTOR2/castor/stager/PutStartRequestCInt.cpp 2009-05-05 02:55:57.000000000 +0200
449     @@ -34,6 +34,7 @@
450     #include "castor/stager/StartRequest.hpp"
451     #include "castor/stager/SvcClass.hpp"
452     #include "osdep.h"
453     +#include <cstring>
454    
455     extern "C" {
456    
457     diff -Naur orig.CASTOR2/castor/stager/QryRequestCInt.cpp CASTOR2/castor/stager/QryRequestCInt.cpp
458     --- orig.CASTOR2/castor/stager/QryRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
459     +++ CASTOR2/castor/stager/QryRequestCInt.cpp 2009-05-05 03:00:57.000000000 +0200
460     @@ -35,6 +35,8 @@
461     #include "castor/stager/SvcClass.hpp"
462     #include "osdep.h"
463     #include <vector>
464     +#include <cstring>
465     +#include <cstdlib>
466    
467     extern "C" {
468    
469     diff -Naur orig.CASTOR2/castor/stager/QueryParameterCInt.cpp CASTOR2/castor/stager/QueryParameterCInt.cpp
470     --- orig.CASTOR2/castor/stager/QueryParameterCInt.cpp 2006-08-02 17:32:51.000000000 +0200
471     +++ CASTOR2/castor/stager/QueryParameterCInt.cpp 2009-05-05 03:07:37.000000000 +0200
472     @@ -32,6 +32,7 @@
473     #include "castor/stager/QueryParameter.hpp"
474     #include "castor/stager/RequestQueryType.hpp"
475     #include "osdep.h"
476     +#include <cstring>
477    
478     extern "C" {
479    
480     diff -Naur orig.CASTOR2/castor/stager/ReqIdRequestCInt.cpp CASTOR2/castor/stager/ReqIdRequestCInt.cpp
481     --- orig.CASTOR2/castor/stager/ReqIdRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
482     +++ CASTOR2/castor/stager/ReqIdRequestCInt.cpp 2009-05-05 03:03:44.000000000 +0200
483     @@ -34,6 +34,7 @@
484     #include "castor/stager/Request.hpp"
485     #include "castor/stager/SvcClass.hpp"
486     #include "osdep.h"
487     +#include <cstring>
488    
489     extern "C" {
490    
491     diff -Naur orig.CASTOR2/castor/stager/RequestCInt.cpp CASTOR2/castor/stager/RequestCInt.cpp
492     --- orig.CASTOR2/castor/stager/RequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
493     +++ CASTOR2/castor/stager/RequestCInt.cpp 2009-05-05 03:03:49.000000000 +0200
494     @@ -32,6 +32,7 @@
495     #include "castor/stager/Request.hpp"
496     #include "castor/stager/SvcClass.hpp"
497     #include "osdep.h"
498     +#include <cstring>
499    
500     extern "C" {
501    
502     diff -Naur orig.CASTOR2/castor/stager/SegmentCInt.cpp CASTOR2/castor/stager/SegmentCInt.cpp
503     --- orig.CASTOR2/castor/stager/SegmentCInt.cpp 2008-05-28 09:50:58.000000000 +0200
504     +++ CASTOR2/castor/stager/SegmentCInt.cpp 2009-05-05 03:10:04.000000000 +0200
505     @@ -33,6 +33,7 @@
506     #include "castor/stager/Tape.hpp"
507     #include "castor/stager/TapeCopy.hpp"
508     #include "osdep.h"
509     +#include <cstring>
510    
511     extern "C" {
512    
513     diff -Naur orig.CASTOR2/castor/stager/SetFileGCWeightCInt.cpp CASTOR2/castor/stager/SetFileGCWeightCInt.cpp
514     --- orig.CASTOR2/castor/stager/SetFileGCWeightCInt.cpp 2008-07-22 10:05:29.000000000 +0200
515     +++ CASTOR2/castor/stager/SetFileGCWeightCInt.cpp 2009-05-05 03:10:10.000000000 +0200
516     @@ -36,6 +36,8 @@
517     #include "castor/stager/SvcClass.hpp"
518     #include "osdep.h"
519     #include <vector>
520     +#include <cstring>
521     +#include <cstdlib>
522    
523     extern "C" {
524    
525     diff -Naur orig.CASTOR2/castor/stager/StageAbortRequestCInt.cpp CASTOR2/castor/stager/StageAbortRequestCInt.cpp
526     --- orig.CASTOR2/castor/stager/StageAbortRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
527     +++ CASTOR2/castor/stager/StageAbortRequestCInt.cpp 2009-05-05 03:12:57.000000000 +0200
528     @@ -35,6 +35,7 @@
529     #include "castor/stager/StageAbortRequest.hpp"
530     #include "castor/stager/SvcClass.hpp"
531     #include "osdep.h"
532     +#include <cstring>
533    
534     extern "C" {
535    
536     diff -Naur orig.CASTOR2/castor/stager/StageFileQueryRequestCInt.cpp CASTOR2/castor/stager/StageFileQueryRequestCInt.cpp
537     --- orig.CASTOR2/castor/stager/StageFileQueryRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
538     +++ CASTOR2/castor/stager/StageFileQueryRequestCInt.cpp 2009-05-05 03:13:12.000000000 +0200
539     @@ -36,6 +36,8 @@
540     #include "castor/stager/SvcClass.hpp"
541     #include "osdep.h"
542     #include <vector>
543     +#include <cstring>
544     +#include <cstdlib>
545    
546     extern "C" {
547    
548     diff -Naur orig.CASTOR2/castor/stager/StageFindRequestRequestCInt.cpp CASTOR2/castor/stager/StageFindRequestRequestCInt.cpp
549     --- orig.CASTOR2/castor/stager/StageFindRequestRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
550     +++ CASTOR2/castor/stager/StageFindRequestRequestCInt.cpp 2009-05-05 03:13:17.000000000 +0200
551     @@ -36,6 +36,8 @@
552     #include "castor/stager/SvcClass.hpp"
553     #include "osdep.h"
554     #include <vector>
555     +#include <cstring>
556     +#include <cstdlib>
557    
558     extern "C" {
559    
560     diff -Naur orig.CASTOR2/castor/stager/StageGetNextRequestCInt.cpp CASTOR2/castor/stager/StageGetNextRequestCInt.cpp
561     --- orig.CASTOR2/castor/stager/StageGetNextRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
562     +++ CASTOR2/castor/stager/StageGetNextRequestCInt.cpp 2009-05-05 03:15:29.000000000 +0200
563     @@ -35,6 +35,7 @@
564     #include "castor/stager/StageGetNextRequest.hpp"
565     #include "castor/stager/SvcClass.hpp"
566     #include "osdep.h"
567     +#include <cstring>
568    
569     extern "C" {
570    
571     diff -Naur orig.CASTOR2/castor/stager/StageGetRequestCInt.cpp CASTOR2/castor/stager/StageGetRequestCInt.cpp
572     --- orig.CASTOR2/castor/stager/StageGetRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
573     +++ CASTOR2/castor/stager/StageGetRequestCInt.cpp 2009-05-05 03:15:56.000000000 +0200
574     @@ -36,6 +36,8 @@
575     #include "castor/stager/SvcClass.hpp"
576     #include "osdep.h"
577     #include <vector>
578     +#include <cstring>
579     +#include <cstdlib>
580    
581     extern "C" {
582    
583     diff -Naur orig.CASTOR2/castor/stager/StagePrepareToGetRequestCInt.cpp CASTOR2/castor/stager/StagePrepareToGetRequestCInt.cpp
584     --- orig.CASTOR2/castor/stager/StagePrepareToGetRequestCInt.cpp 2006-08-02 17:32:51.000000000 +0200
585     +++ CASTOR2/castor/stager/StagePrepareToGetRequestCInt.cpp 2009-05-05 03:15:59.000000000 +0200
586     @@ -36,6 +36,8 @@
587     #include "castor/stager/SvcClass.hpp"
588     #include "osdep.h"
589     #include <vector>
590     +#include <cstring>
591     +#include <cstdlib>
592    
593     extern "C" {
594    
595     diff -Naur orig.CASTOR2/castor/stager/StagePrepareToPutRequestCInt.cpp CASTOR2/castor/stager/StagePrepareToPutRequestCInt.cpp
596     --- orig.CASTOR2/castor/stager/StagePrepareToPutRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
597     +++ CASTOR2/castor/stager/StagePrepareToPutRequestCInt.cpp 2009-05-05 03:19:35.000000000 +0200
598     @@ -36,6 +36,8 @@
599     #include "castor/stager/SvcClass.hpp"
600     #include "osdep.h"
601     #include <vector>
602     +#include <cstring>
603     +#include <cstdlib>
604    
605     extern "C" {
606    
607     diff -Naur orig.CASTOR2/castor/stager/StagePrepareToUpdateRequestCInt.cpp CASTOR2/castor/stager/StagePrepareToUpdateRequestCInt.cpp
608     --- orig.CASTOR2/castor/stager/StagePrepareToUpdateRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
609     +++ CASTOR2/castor/stager/StagePrepareToUpdateRequestCInt.cpp 2009-05-05 03:19:40.000000000 +0200
610     @@ -36,6 +36,8 @@
611     #include "castor/stager/SvcClass.hpp"
612     #include "osdep.h"
613     #include <vector>
614     +#include <cstring>
615     +#include <cstdlib>
616    
617     extern "C" {
618    
619     diff -Naur orig.CASTOR2/castor/stager/StagePutDoneRequestCInt.cpp CASTOR2/castor/stager/StagePutDoneRequestCInt.cpp
620     --- orig.CASTOR2/castor/stager/StagePutDoneRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
621     +++ CASTOR2/castor/stager/StagePutDoneRequestCInt.cpp 2009-05-05 03:24:49.000000000 +0200
622     @@ -36,6 +36,8 @@
623     #include "castor/stager/SvcClass.hpp"
624     #include "osdep.h"
625     #include <vector>
626     +#include <cstring>
627     +#include <cstdlib>
628    
629     extern "C" {
630    
631     diff -Naur orig.CASTOR2/castor/stager/StagePutNextRequestCInt.cpp CASTOR2/castor/stager/StagePutNextRequestCInt.cpp
632     --- orig.CASTOR2/castor/stager/StagePutNextRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
633     +++ CASTOR2/castor/stager/StagePutNextRequestCInt.cpp 2009-05-05 03:26:47.000000000 +0200
634     @@ -35,6 +35,7 @@
635     #include "castor/stager/StagePutNextRequest.hpp"
636     #include "castor/stager/SvcClass.hpp"
637     #include "osdep.h"
638     +#include <cstring>
639    
640     extern "C" {
641    
642     diff -Naur orig.CASTOR2/castor/stager/StagePutRequestCInt.cpp CASTOR2/castor/stager/StagePutRequestCInt.cpp
643     --- orig.CASTOR2/castor/stager/StagePutRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
644     +++ CASTOR2/castor/stager/StagePutRequestCInt.cpp 2009-05-05 03:26:59.000000000 +0200
645     @@ -36,6 +36,8 @@
646     #include "castor/stager/SvcClass.hpp"
647     #include "osdep.h"
648     #include <vector>
649     +#include <cstring>
650     +#include <cstdlib>
651    
652     extern "C" {
653    
654     diff -Naur orig.CASTOR2/castor/stager/StageReleaseFilesRequestCInt.cpp CASTOR2/castor/stager/StageReleaseFilesRequestCInt.cpp
655     --- orig.CASTOR2/castor/stager/StageReleaseFilesRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
656     +++ CASTOR2/castor/stager/StageReleaseFilesRequestCInt.cpp 2009-05-05 03:27:02.000000000 +0200
657     @@ -36,6 +36,8 @@
658     #include "castor/stager/SvcClass.hpp"
659     #include "osdep.h"
660     #include <vector>
661     +#include <cstring>
662     +#include <cstdlib>
663    
664     extern "C" {
665    
666     diff -Naur orig.CASTOR2/castor/stager/StageRepackRequestCInt.cpp CASTOR2/castor/stager/StageRepackRequestCInt.cpp
667     --- orig.CASTOR2/castor/stager/StageRepackRequestCInt.cpp 2006-08-25 21:17:07.000000000 +0200
668     +++ CASTOR2/castor/stager/StageRepackRequestCInt.cpp 2009-05-05 03:24:46.000000000 +0200
669     @@ -36,6 +36,8 @@
670     #include "castor/stager/SvcClass.hpp"
671     #include "osdep.h"
672     #include <vector>
673     +#include <cstring>
674     +#include <cstdlib>
675    
676     extern "C" {
677    
678     diff -Naur orig.CASTOR2/castor/stager/StageRequestQueryRequestCInt.cpp CASTOR2/castor/stager/StageRequestQueryRequestCInt.cpp
679     --- orig.CASTOR2/castor/stager/StageRequestQueryRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
680     +++ CASTOR2/castor/stager/StageRequestQueryRequestCInt.cpp 2009-05-05 03:29:22.000000000 +0200
681     @@ -36,6 +36,8 @@
682     #include "castor/stager/SvcClass.hpp"
683     #include "osdep.h"
684     #include <vector>
685     +#include <cstdlib>
686     +#include <cstring>
687    
688     extern "C" {
689    
690     diff -Naur orig.CASTOR2/castor/stager/StageRmRequestCInt.cpp CASTOR2/castor/stager/StageRmRequestCInt.cpp
691     --- orig.CASTOR2/castor/stager/StageRmRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
692     +++ CASTOR2/castor/stager/StageRmRequestCInt.cpp 2009-05-05 03:29:27.000000000 +0200
693     @@ -36,6 +36,8 @@
694     #include "castor/stager/SvcClass.hpp"
695     #include "osdep.h"
696     #include <vector>
697     +#include <cstdlib>
698     +#include <cstring>
699    
700     extern "C" {
701    
702     diff -Naur orig.CASTOR2/castor/stager/StageUpdateNextRequestCInt.cpp CASTOR2/castor/stager/StageUpdateNextRequestCInt.cpp
703     --- orig.CASTOR2/castor/stager/StageUpdateNextRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
704     +++ CASTOR2/castor/stager/StageUpdateNextRequestCInt.cpp 2009-05-05 03:29:37.000000000 +0200
705     @@ -35,6 +35,7 @@
706     #include "castor/stager/StageUpdateNextRequest.hpp"
707     #include "castor/stager/SvcClass.hpp"
708     #include "osdep.h"
709     +#include <cstring>
710    
711     extern "C" {
712    
713     diff -Naur orig.CASTOR2/castor/stager/StageUpdateRequestCInt.cpp CASTOR2/castor/stager/StageUpdateRequestCInt.cpp
714     --- orig.CASTOR2/castor/stager/StageUpdateRequestCInt.cpp 2006-08-02 17:32:52.000000000 +0200
715     +++ CASTOR2/castor/stager/StageUpdateRequestCInt.cpp 2009-05-05 03:34:45.000000000 +0200
716     @@ -36,6 +36,8 @@
717     #include "castor/stager/SvcClass.hpp"
718     #include "osdep.h"
719     #include <vector>
720     +#include <cstdlib>
721     +#include <cstring>
722    
723     extern "C" {
724    
725     diff -Naur orig.CASTOR2/castor/stager/StartRequestCInt.cpp CASTOR2/castor/stager/StartRequestCInt.cpp
726     --- orig.CASTOR2/castor/stager/StartRequestCInt.cpp 2008-02-27 10:34:56.000000000 +0100
727     +++ CASTOR2/castor/stager/StartRequestCInt.cpp 2009-05-05 03:05:24.000000000 +0200
728     @@ -33,6 +33,7 @@
729     #include "castor/stager/StartRequest.hpp"
730     #include "castor/stager/SvcClass.hpp"
731     #include "osdep.h"
732     +#include <cstring>
733    
734     extern "C" {
735    
736     diff -Naur orig.CASTOR2/castor/stager/StreamCInt.cpp CASTOR2/castor/stager/StreamCInt.cpp
737     --- orig.CASTOR2/castor/stager/StreamCInt.cpp 2007-08-13 17:19:11.000000000 +0200
738     +++ CASTOR2/castor/stager/StreamCInt.cpp 2009-05-05 03:34:50.000000000 +0200
739     @@ -35,6 +35,7 @@
740     #include "castor/stager/TapePool.hpp"
741     #include "osdep.h"
742     #include <vector>
743     +#include <cstdlib>
744    
745     extern "C" {
746    
747     diff -Naur orig.CASTOR2/castor/stager/SubRequestCInt.cpp CASTOR2/castor/stager/SubRequestCInt.cpp
748     --- orig.CASTOR2/castor/stager/SubRequestCInt.cpp 2007-08-07 17:11:57.000000000 +0200
749     +++ CASTOR2/castor/stager/SubRequestCInt.cpp 2009-05-05 03:37:14.000000000 +0200
750     @@ -36,6 +36,8 @@
751     #include "castor/stager/SubRequestStatusCodes.hpp"
752     #include "osdep.h"
753     #include <vector>
754     +#include <cstring>
755     +#include <cstdlib>
756    
757     extern "C" {
758    
759     diff -Naur orig.CASTOR2/castor/stager/SvcClassCInt.cpp CASTOR2/castor/stager/SvcClassCInt.cpp
760     --- orig.CASTOR2/castor/stager/SvcClassCInt.cpp 2008-06-13 16:39:38.000000000 +0200
761     +++ CASTOR2/castor/stager/SvcClassCInt.cpp 2009-05-05 03:07:47.000000000 +0200
762     @@ -34,6 +34,8 @@
763     #include "castor/stager/TapePool.hpp"
764     #include "osdep.h"
765     #include <vector>
766     +#include <cstring>
767     +#include <cstdlib>
768    
769     extern "C" {
770    
771     diff -Naur orig.CASTOR2/castor/stager/TapeCInt.cpp CASTOR2/castor/stager/TapeCInt.cpp
772     --- orig.CASTOR2/castor/stager/TapeCInt.cpp 2008-01-28 17:10:38.000000000 +0100
773     +++ CASTOR2/castor/stager/TapeCInt.cpp 2009-05-05 03:37:25.000000000 +0200
774     @@ -34,6 +34,8 @@
775     #include "castor/stager/TapeStatusCodes.hpp"
776     #include "osdep.h"
777     #include <vector>
778     +#include <cstdlib>
779     +#include <cstring>
780    
781     extern "C" {
782    
783     diff -Naur orig.CASTOR2/castor/stager/TapeCopyCInt.cpp CASTOR2/castor/stager/TapeCopyCInt.cpp
784     --- orig.CASTOR2/castor/stager/TapeCopyCInt.cpp 2006-08-02 17:32:53.000000000 +0200
785     +++ CASTOR2/castor/stager/TapeCopyCInt.cpp 2009-05-05 03:37:19.000000000 +0200
786     @@ -35,6 +35,7 @@
787     #include "castor/stager/TapeCopyStatusCodes.hpp"
788     #include "osdep.h"
789     #include <vector>
790     +#include <cstdlib>
791    
792     extern "C" {
793    
794     diff -Naur orig.CASTOR2/castor/stager/TapeCopyForMigrationCInt.cpp CASTOR2/castor/stager/TapeCopyForMigrationCInt.cpp
795     --- orig.CASTOR2/castor/stager/TapeCopyForMigrationCInt.cpp 2006-08-02 17:32:53.000000000 +0200
796     +++ CASTOR2/castor/stager/TapeCopyForMigrationCInt.cpp 2009-05-05 03:43:59.000000000 +0200
797     @@ -36,6 +36,8 @@
798     #include "castor/stager/TapeCopyStatusCodes.hpp"
799     #include "osdep.h"
800     #include <vector>
801     +#include <cstring>
802     +#include <cstdlib>
803    
804     extern "C" {
805    
806     diff -Naur orig.CASTOR2/castor/stager/TapePoolCInt.cpp CASTOR2/castor/stager/TapePoolCInt.cpp
807     --- orig.CASTOR2/castor/stager/TapePoolCInt.cpp 2008-06-23 10:31:19.000000000 +0200
808     +++ CASTOR2/castor/stager/TapePoolCInt.cpp 2009-05-05 03:42:41.000000000 +0200
809     @@ -33,6 +33,8 @@
810     #include "castor/stager/TapePool.hpp"
811     #include "osdep.h"
812     #include <vector>
813     +#include <cstdlib>
814     +#include <cstring>
815    
816     extern "C" {
817    
818 elmer 1.1 diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_get.cpp CASTOR2/client/src/stager/stager_client_api_get.cpp
819     --- orig.CASTOR2/client/src/stager/stager_client_api_get.cpp 2008-03-25 15:35:21.000000000 +0100
820     +++ CASTOR2/client/src/stager/stager_client_api_get.cpp 2009-05-05 01:55:57.000000000 +0200
821     @@ -12,6 +12,8 @@
822     /* ============== */
823     #include <sys/types.h>
824     #include <sys/stat.h>
825     +#include <cstring>
826     +#include <cstdlib>
827    
828     /* ============= */
829     /* Local headers */
830     diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_put.cpp CASTOR2/client/src/stager/stager_client_api_put.cpp
831     --- orig.CASTOR2/client/src/stager/stager_client_api_put.cpp 2008-03-25 15:35:21.000000000 +0100
832     +++ CASTOR2/client/src/stager/stager_client_api_put.cpp 2009-05-05 01:56:46.000000000 +0200
833     @@ -12,6 +12,8 @@
834     /* ============== */
835     #include <sys/types.h>
836     #include <sys/stat.h>
837     +#include <cstring>
838     +#include <cstdlib>
839    
840     /* ============= */
841     /* Local headers */
842     diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_query.cpp CASTOR2/client/src/stager/stager_client_api_query.cpp
843     --- orig.CASTOR2/client/src/stager/stager_client_api_query.cpp 2008-05-05 10:49:56.000000000 +0200
844     +++ CASTOR2/client/src/stager/stager_client_api_query.cpp 2009-05-05 01:58:24.000000000 +0200
845     @@ -10,6 +10,8 @@
846     /* ============== */
847     /* System headers */
848     /* ============== */
849     +#include <cstring>
850     +#include <cstdlib>
851    
852     /* ============= */
853     /* Local headers */
854     diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_rm.cpp CASTOR2/client/src/stager/stager_client_api_rm.cpp
855     --- orig.CASTOR2/client/src/stager/stager_client_api_rm.cpp 2008-03-25 15:35:21.000000000 +0100
856     +++ CASTOR2/client/src/stager/stager_client_api_rm.cpp 2009-05-05 01:58:46.000000000 +0200
857     @@ -12,6 +12,7 @@
858     /* ============== */
859     #include <sys/types.h>
860     #include <sys/stat.h>
861     +#include <cstdlib>
862    
863     /* ============= */
864     /* Local headers */
865     diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_setFileGCWeight.cpp CASTOR2/client/src/stager/stager_client_api_setFileGCWeight.cpp
866     --- orig.CASTOR2/client/src/stager/stager_client_api_setFileGCWeight.cpp 2008-03-25 15:35:21.000000000 +0100
867     +++ CASTOR2/client/src/stager/stager_client_api_setFileGCWeight.cpp 2009-05-05 01:59:43.000000000 +0200
868     @@ -12,6 +12,8 @@
869     /* ============== */
870     #include <sys/types.h>
871     #include <sys/stat.h>
872     +#include <cstring>
873     +#include <cstdlib>
874    
875     /* ============= */
876     /* Local headers */
877     diff -Naur orig.CASTOR2/client/src/stager/stager_client_api_update.cpp CASTOR2/client/src/stager/stager_client_api_update.cpp
878     --- orig.CASTOR2/client/src/stager/stager_client_api_update.cpp 2008-03-25 15:35:21.000000000 +0100
879     +++ CASTOR2/client/src/stager/stager_client_api_update.cpp 2009-05-05 01:56:03.000000000 +0200
880     @@ -12,6 +12,8 @@
881     /* ============== */
882     #include <sys/types.h>
883     #include <fcntl.h>
884     +#include <cstring>
885     +#include <cstdlib>
886    
887     /* ============= */
888     /* Local headers */