summaryrefslogtreecommitdiff
path: root/src/Blowfish.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/Blowfish.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/Blowfish.c')
-rw-r--r--src/Blowfish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blowfish.c b/src/Blowfish.c
index 94562bb..fd90fd7 100644
--- a/src/Blowfish.c
+++ b/src/Blowfish.c
@@ -26,6 +26,7 @@
* http://www.schneier.com/paper-blowfish-fse.html
*/
+#include "Python.h"
#include "config.h"
#if HAVE_STDINT_H
# include <stdint.h>
@@ -36,7 +37,6 @@
#endif
#include <assert.h>
#include <string.h>
-#include "Python.h"
#include "Blowfish-tables.h"