#ifndef EXT_NVAPI_H
#define EXT_NVAPI_H
+#if defined(HAVE_HWMON) && defined(HAVE_NVAPI)
+
#include <common.h>
// Just annotations (they do nothing special)
int hc_NvAPI_GPU_GetTachReading (NvPhysicalGpuHandle hPhysicalGPU, NvU32 *pValue);
int hc_NvAPI_GPU_GetDynamicPstatesInfoEx (NvPhysicalGpuHandle hPhysicalGpu, NV_GPU_DYNAMIC_PSTATES_INFO_EX *pDynamicPstatesInfoEx);
+#endif // HAVE_HWMON && HAVE_NVAPI
+
#endif