about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/util/wordaccess.h3
-rw-r--r--lib/util/wordaccess_generic.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/util/wordaccess.h b/lib/util/wordaccess.h
index 28963aee..08034361 100644
--- a/lib/util/wordaccess.h
+++ b/lib/util/wordaccess.h
@@ -37,6 +37,9 @@
 
    We also assume that a char is 8 bits.
 */
+
+#include "pm_config.h"
+
 #if (!defined(WORDACCESS_GENERIC) \
      && defined(__GNUC__) && defined(__GLIBC__) \
      && (__GNUC__ * 100 + __GNUC_MINOR__ >= 304) )
diff --git a/lib/util/wordaccess_generic.h b/lib/util/wordaccess_generic.h
index 762b2a94..7f27ef74 100644
--- a/lib/util/wordaccess_generic.h
+++ b/lib/util/wordaccess_generic.h
@@ -9,8 +9,6 @@
   * Specified by the user with WORDACCESS_GENERIC
 =============================================================================*/
 
-#include "pm_config.h"
-
 typedef uint32_t wordint;
 typedef unsigned char wordintBytes[sizeof(wordint)];