- Fixed position of padlock error definition
diff --git a/include/polarssl/padlock.h b/include/polarssl/padlock.h
index 6a0bda2..08fbe82 100644
--- a/include/polarssl/padlock.h
+++ b/include/polarssl/padlock.h
@@ -29,6 +29,8 @@
#include "polarssl/aes.h"
+#define POLARSSL_ERR_PADLOCK_DATA_MISALIGNED -0x0030 /**< Input data should be aligned. */
+
#if defined(POLARSSL_HAVE_ASM) && defined(__GNUC__) && defined(__i386__)
#ifndef POLARSSL_HAVE_X86
@@ -42,8 +44,6 @@
#define PADLOCK_ALIGN16(x) (unsigned long *) (16 + ((long) x & ~15))
-#define POLARSSL_ERR_PADLOCK_DATA_MISALIGNED -0x0030 /**< Input data should be aligned. */
-
#ifdef __cplusplus
extern "C" {
#endif