Skip to content

Commit

Permalink
Use standard poll.h, errno.h in place of sys/*.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocimier authored and BenJarg committed Dec 17, 2022
1 parent 796896e commit 7760519
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Xrd/XrdPoll.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/* specific prior written permission of the institution or contributor. */
/******************************************************************************/

#include <sys/poll.h>
#include <poll.h>
#include "XrdSys/XrdSysPthread.hh"

#define XRD_NUMPOLLERS 3
Expand Down
2 changes: 1 addition & 1 deletion src/XrdNet/XrdNetMsg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/******************************************************************************/

#include <cerrno>
#include <sys/poll.h>
#include <poll.h>

#include "XrdNet/XrdNet.hh"
#include "XrdNet/XrdNetMsg.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/XrdOfs/XrdOfsHandle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#include <cstdio>
#include <ctime>
#include <sys/errno.h>
#include <errno.h>
#include <sys/types.h>

#include "XrdOfs/XrdOfsHandle.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/XrdTls/XrdTlsTempCA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <cstdlib>
#include <fcntl.h>
#include <dirent.h>
#include <sys/poll.h>
#include <poll.h>

#include <unordered_set>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdVoms/XrdVomsMapfile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <vector>
#include <string>
#include <fcntl.h>
#include <sys/poll.h>
#include <poll.h>

bool XrdVomsMapfile::tried_configure = false;
std::unique_ptr<XrdVomsMapfile> XrdVomsMapfile::mapper;
Expand Down

0 comments on commit 7760519

Please sign in to comment.