summaryrefslogtreecommitdiff
path: root/src/MD2.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/MD2.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/MD2.c')
-rw-r--r--src/MD2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MD2.c b/src/MD2.c
index f670ec4..3543e21 100644
--- a/src/MD2.c
+++ b/src/MD2.c
@@ -27,8 +27,8 @@
*/
-#include <string.h>
#include "Python.h"
+#include <string.h>
#include "pycrypto_compat.h"
#define MODULE_NAME _MD2