gallium/hud: use #ifdef to test for macro existence
[mesa.git] / src / gallium / auxiliary / hud / hud_sensors_temp.c
index 7ae6f71b55c81216140cbeae79bef1d9a0f035bc..b912a4ea7a8d2e59aff45fffc008c48545c7f62c 100644 (file)
@@ -26,7 +26,7 @@
  *
  **************************************************************************/
 
-#if HAVE_LIBSENSORS
+#ifdef HAVE_LIBSENSORS
 /* Purpose: Extract lm-sensors data, expose temperature, power, voltage. */
 
 #include "hud/hud_private.h"