summaryrefslogtreecommitdiff
path: root/src/AES.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-02-17 11:39:05 -0800
committerDwayne Litzenberger <dlitz@dlitz.net>2013-02-17 11:39:49 -0800
commitd715685ae7f5a26ee90a23db5832e4243ce3af45 (patch)
treecb85ad0d86b0bf4c9e86a659d04e77bfd6031200 /src/AES.c
parente85ae486ab9b7ec1bee51431888283ac7a7fcaa2 (diff)
downloadpycrypto-d715685ae7f5a26ee90a23db5832e4243ce3af45.tar.gz
Fix compiler warning about "_POSIX_C_SOURCE" being redefined in string.h
The solution is to include Python.h before string.h is included.
Diffstat (limited to 'src/AES.c')
-rw-r--r--src/AES.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AES.c b/src/AES.c
index 0aeaeda..9b125e2 100644
--- a/src/AES.c
+++ b/src/AES.c
@@ -24,9 +24,9 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "Python.h"
#include <assert.h>
#include <stdlib.h>
-#include "Python.h"
#define MODULE_NAME _AES
#define BLOCK_SIZE 16