From b72004787038371098a745c9358e8e1552d945d5 Mon Sep 17 00:00:00 2001 From: Brenden Matthews 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 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