summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-12-11 22:16:09 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-12-11 22:16:09 +0900
commit22f3ecbfc18939984e59139f0c074969e3d8f3c0 (patch)
tree40d3365ff204e3b323c14593422da906f838e901
parent5737cc32256ce2c9c3a668bb49b887778e9b1223 (diff)
downloadwiimote-22f3ecbfc18939984e59139f0c074969e3d8f3c0.tar.gz
wiimote-22f3ecbfc18939984e59139f0c074969e3d8f3c0.tar.bz2
* Re-entry guard should protect the entire .h file, not just the "\#define COMPIZ_WIIMOTE_H" bits
-rw-r--r--compiz-wiimote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiz-wiimote.h b/compiz-wiimote.h
index 0e2d56d..5669475 100644
--- a/compiz-wiimote.h
+++ b/compiz-wiimote.h
@@ -20,7 +20,6 @@
#ifndef _COMPIZ_WIIMOTE_H
#define _COMPIZ_WIIMOTE_H
-#endif
#include <compiz-core.h>
#include <cwiid.h>
@@ -471,3 +470,4 @@ wiimoteRemoveWiimote (CompDisplay *d,
#define PI 3.14159265358979323846
#define DEG2RAD2(DEG) ((DEG)*((PI)/(180.0)))
+#endif