From e21e6d265d3803e51db2be6a332a601280fce7a8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 2 Nov 2012 12:07:36 +0100 Subject: build-sys: cleanup cpu_set_t usage - make taskset depend on cpu_set_t - make cpuset.c optional for libcommon and lib/path.c Signed-off-by: Karel Zak --- lib/path.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/path.c') 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 #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) { -- cgit v1.2.3-55-g7522