diff --git a/RCSwitch.cpp b/RCSwitch.cpp
index ce50344fd89799432649ea52f5cd3a06ca469c32..f3b078aa3ea678795e04935ef6b99616d0766c72 100644
--- a/RCSwitch.cpp
+++ b/RCSwitch.cpp
@@ -49,8 +49,8 @@ const unsigned int RCSwitch::nSeparationLimit = 4600;
 // separationLimit: minimum microseconds between received codes, closer codes are ignored.
 // according to discussion on issue #14 it might be more suitable to set the separation
 // limit to the same time as the 'low' part of the sync signal for the current protocol.
-#endif
 unsigned int RCSwitch::timings[RCSWITCH_MAX_CHANGES];
+#endif
 
 RCSwitch::RCSwitch() {
   this->nTransmitterPin = -1;
diff --git a/RCSwitch.h b/RCSwitch.h
index 8450a0fbb9c8b3e85d360a04f9fe99d93c767395..79ab6b1f34d06c74e3eca57263d1e559eb3bbd40 100644
--- a/RCSwitch.h
+++ b/RCSwitch.h
@@ -140,11 +140,11 @@ class RCSwitch {
     static unsigned int nReceivedDelay;
     static unsigned int nReceivedProtocol;
     const static unsigned int nSeparationLimit;
-    #endif
     /* 
      * timings[0] contains sync timing, followed by a number of bits
      */
     static unsigned int timings[RCSWITCH_MAX_CHANGES];
+    #endif
 
     
 };