diff options
Diffstat (limited to 'lib/path.c')
-rw-r--r-- | lib/path.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/path.c b/lib/path.c index 8437c0220..404eeeb24 100644 --- a/lib/path.c +++ b/lib/path.c @@ -28,7 +28,6 @@ #include <errno.h> #include "all-io.h" -#include "cpuset.h" #include "path.h" #include "nls.h" #include "c.h" @@ -151,6 +150,8 @@ path_exist(const char *path, ...) return access(p, F_OK) == 0; } +#ifdef HAVE_CPU_SET_T + static cpu_set_t * path_cpuparse(int maxcpus, int islist, const char *path, va_list ap) { @@ -209,6 +210,8 @@ path_cpulist(int maxcpus, const char *path, ...) return set; } +#endif /* HAVE_CPU_SET_T */ + void path_setprefix(const char *prefix) { |