summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
Diffstat (limited to 'battstat')
-rw-r--r--battstat/apmlib/apm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/battstat/apmlib/apm.h b/battstat/apmlib/apm.h
index c24041c2..fd1f6eb6 100644
--- a/battstat/apmlib/apm.h
+++ b/battstat/apmlib/apm.h
@@ -20,6 +20,9 @@
* $Id$
*
*/
+#ifndef __APM_H__
+#define __APM_H__
+
#include <linux/apm_bios.h>
#include <sys/types.h>
@@ -75,3 +78,5 @@ extern const char *apm_time_nosec(time_t t);
#ifdef APM_IOC_REJECT
#define APM_REJECT_ENABLED
#endif
+
+#endif /* __APM_H__ */