blob: b56cee5f9795960ed852d14cb7a819322ad925c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
From b72004787038371098a745c9358e8e1552d945d5 Mon Sep 17 00:00:00 2001
From: Brenden Matthews <brenden@diddyinc.com>
Date: Wed, 6 Oct 2010 11:49:27 -0700
Subject: [PATCH] Bulid fix for nvidia support.
See http://bugs.gentoo.org/show_bug.cgi?id=339971 for details.
---
src/nvidia.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/nvidia.c b/src/nvidia.c
index 8a6423e..5f378d8 100644
--- 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));
}
- }
+ }
}
+
--
1.7.0.4
|