summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/cpuusage.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown/src/cpuusage.h')
-rw-r--r--plugins/AutoShutdown/src/cpuusage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/AutoShutdown/src/cpuusage.h b/plugins/AutoShutdown/src/cpuusage.h
index 681a2c8213..f10ead7d9e 100644
--- a/plugins/AutoShutdown/src/cpuusage.h
+++ b/plugins/AutoShutdown/src/cpuusage.h
@@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Start Thread */
typedef BOOL (CALLBACK* CPUUSAGEAVAILPROC)(BYTE nCpuUsage,LPARAM lParam);
DWORD PollCpuUsage(CPUUSAGEAVAILPROC pfnDataAvailProc,LPARAM lParam,DWORD dwDelayMillis);