]> xenbits.xensource.com Git - libvirt.git/commit
nodeinfo: fix build on non-Linux
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 12 Jun 2016 07:33:17 +0000 (10:33 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 12 Jun 2016 07:33:17 +0000 (10:33 +0300)
commit992f93f18a3d06f66692a02fc303ba3b70f6f463
tree877914aa71249a140bb0b182c3ed81d597bc3c82
parent85d54f133c3b811d06fd8d55702ead03385a8a56
nodeinfo: fix build on non-Linux

SYSFS_SYSTEM_PATH is only defined for Linux, however it's used outside
of #ifdef __linux__ code, e.g. as the first argument to
nodeCapsInitNUMAFake().

But as this argument's value is used on Linux only, it's safe to define
SYSFS_SYSTEM_PATH to "fake" to get things built on FreeBSD.
src/nodeinfo.c