summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-14 15:34:38 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-14 15:34:38 -0500
commit4beee0f69ba65690755e486648d901f716cfd0ee (patch)
tree526dc1a6b5ad2099ff0650082ac567b8974adbd5 /src/ext
parent41e0f7146a0377fb67858433deb4d9f4d7e95327 (diff)
downloadtor-4beee0f69ba65690755e486648d901f716cfd0ee.tar.gz
tor-4beee0f69ba65690755e486648d901f716cfd0ee.zip
Use torint.h in curve25519-donna*.c
This will get it building on systems that lack stdint.h
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/curve25519_donna/curve25519-donna-c64.c4
-rw-r--r--src/ext/curve25519_donna/curve25519-donna.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ext/curve25519_donna/curve25519-donna-c64.c b/src/ext/curve25519_donna/curve25519-donna-c64.c
index 9ebd8a12d8..b68ff3695a 100644
--- a/src/ext/curve25519_donna/curve25519-donna-c64.c
+++ b/src/ext/curve25519_donna/curve25519-donna-c64.c
@@ -22,8 +22,10 @@
* from the sample implementation.
*/
+#include "orconfig.h"
+
#include <string.h>
-#include <stdint.h>
+#include "torint.h"
typedef uint8_t u8;
typedef uint64_t limb;
diff --git a/src/ext/curve25519_donna/curve25519-donna.c b/src/ext/curve25519_donna/curve25519-donna.c
index 80e4594eec..5c6821ccd8 100644
--- a/src/ext/curve25519_donna/curve25519-donna.c
+++ b/src/ext/curve25519_donna/curve25519-donna.c
@@ -46,8 +46,10 @@
* from the sample implementation.
*/
+#include "orconfig.h"
+
#include <string.h>
-#include <stdint.h>
+#include "torint.h"
typedef uint8_t u8;
typedef int32_t s32;