opensciencegrid / xrootd-lcmaps

Integration between Xrootd and LCMAPS.
Apache License 2.0
4 stars 11 forks source link

Compiling throws error due to missing include #54

Open panik4 opened 3 years ago

panik4 commented 3 years ago

Hello,

when compiling, the following error occurs:

[ 85%] Building CXX object CMakeFiles/XrdLcmaps.dir/src/GlobusSupport.cc.o /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc: In function 'void UpdateEntity(XrdSecEntity&, const XrdSecEntity&)': /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc:59:61: error: 'strdup' was not declared in this scope if (in.name) { free(out.name); out.name = strdup(in.name); }

This happens due to a missing #include <cstring> in XrdHttpLcmaps.cc

Cheers, Paul

cataliniordache commented 1 year ago

same for me