ifdef guard nvml header

pull/208/head
jackun 4 years ago
parent 953c8d0e0f
commit 1495b1e88f
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -1,4 +1,3 @@
#include "nvidia_info.h"
#include "memory.h"
#include "gpu.h"

@ -2,8 +2,10 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include "nvidia_info.h"
#include "nvctrl.h"
#ifdef HAVE_NVML
#include "nvidia_info.h"
#endif
struct amdgpu_files
{

@ -54,7 +54,6 @@
#include "logging.h"
#include "keybinds.h"
#include "cpu.h"
#include "loaders/loader_nvml.h"
#include "memory.h"
#include "notify.h"
#include "blacklist.h"

Loading…
Cancel
Save