summaryrefslogtreecommitdiff
path: root/src/_counter.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/_counter.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/_counter.c')
-rw-r--r--src/_counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_counter.c b/src/_counter.c
index 9b396e4..a29b0ce 100644
--- a/src/_counter.c
+++ b/src/_counter.c
@@ -22,10 +22,10 @@
* ===================================================================
*/
+#include "Python.h"
#include <assert.h>
#include <stddef.h>
#include <string.h>
-#include "Python.h"
#include "pycrypto_compat.h"
#include "_counter.h"