try to fix compilation on glibc's with cpu sets (#14296)

This commit is contained in:
Benjamin Peterson 2012-03-14 22:28:25 -05:00
parent 1767e0274b
commit 7b51b8de38
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ corresponding Unix manual entries for more information on calls.");
#include <sched.h>
#endif
#if defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
#undef HAVE_SCHED_SETAFFINITY
#endif
#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__)
#define USE_XATTRS
#endif