1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-29 01:58:26 +00:00

Bulid fix for nvidia support.

See http://bugs.gentoo.org/show_bug.cgi?id=339971 for details.
This commit is contained in:
Brenden Matthews 2010-10-06 11:49:27 -07:00
parent 0e2c45685b
commit b720047870

View File

@ -32,6 +32,7 @@
#include "logging.h"
#include "nvidia.h"
#include "temphelper.h"
#include "x11.h"
#include <NVCtrl/NVCtrlLib.h>
const int nvidia_query_to_attr[] = {NV_CTRL_GPU_CORE_TEMPERATURE,
@ -145,5 +146,6 @@ void set_nvidia_display(const char *disp)
if ((nvdisplay = XOpenDisplay(disp)) == NULL) {
CRIT_ERR(NULL, NULL, "can't open nvidia display: %s", XDisplayName(disp));
}
}
}
}