summaryrefslogtreecommitdiff
path: root/sysutils/ksysguardd/files/patch-modules.h
blob: c324abe657b54ae8c1d8751db6d9be67dda31485 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
* Silence a syntax warning

--- modules.h.orig	2015-08-12 07:03:15 UTC
+++ modules.h
@@ -144,7 +144,7 @@ struct SensorModul SensorModulList[] = {
   { "Uptime", initUptime, exitUptime, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME },
 #endif /* OSTYPE_Linux */
 
-#if defined OSTYPE_FreeBSD || defined OSTYPE_DragonFly
+#if defined(OSTYPE_FreeBSD) || defined(OSTYPE_DragonFly)
   { "Acpi", initACPI, exitACPI, updateACPI, NULLVVFUNC, 0, NULLTIME },
   #ifdef __i386__
     { "Apm", initApm, exitApm, updateApm, NULLVVFUNC, 0, NULLTIME },