nvml: Do not include header nvctrl.h if not build with xnvctrl support

pull/1022/head
Bill Li 1 year ago committed by flightlessmango
parent 2101090f00
commit 9b0aec0540

@ -5,7 +5,9 @@
#include <thread>
#include <cstring>
#include <spdlog/spdlog.h>
#ifdef HAVE_XNVCTRL
#include "nvctrl.h"
#endif
#include "timing.hpp"
#ifdef HAVE_NVML
#include "nvidia_info.h"

Loading…
Cancel
Save