summaryrefslogtreecommitdiff
path: root/src/_fastmath.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/_fastmath.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/_fastmath.c')
-rw-r--r--src/_fastmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_fastmath.c b/src/_fastmath.c
index 99b1c43..bd2651d 100644
--- a/src/_fastmath.c
+++ b/src/_fastmath.c
@@ -26,9 +26,9 @@
* $Id$
*/
+#include "Python.h"
#include <stdio.h>
#include <string.h>
-#include "Python.h"
#include "pycrypto_compat.h"
#include <longintrepr.h> /* for conversions */
#include "config.h"