projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2c456
)
Bulid fix for nvidia support.
author
Brenden Matthews
<brenden@diddyinc.com>
Wed, 6 Oct 2010 18:49:27 +0000
(11:49 -0700)
committer
Brenden Matthews
<brenden@diddyinc.com>
Wed, 6 Oct 2010 18:49:27 +0000
(11:49 -0700)
See http://bugs.gentoo.org/show_bug.cgi?id=339971 for details.
src/nvidia.c
patch
|
blob
|
history
diff --git
a/src/nvidia.c
b/src/nvidia.c
index
8a6423e
..
5f378d8
100644
(file)
--- a/
src/nvidia.c
+++ b/
src/nvidia.c
@@
-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));
}
- }
+ }
}
+