add missing include
diff --git a/etc/mont.c b/etc/mont.c
index 1b4f2b3..4652410 100644
--- a/etc/mont.c
+++ b/etc/mont.c
@@ -1,5 +1,6 @@
/* tests the montgomery routines */
#include <tommath.h>
+#include <stdlib.h>
#include <time.h>
int main(void)
diff --git a/etc/pprime.c b/etc/pprime.c
index 706aec8..fa622f8 100644
--- a/etc/pprime.c
+++ b/etc/pprime.c
@@ -4,6 +4,7 @@
*
* Tom St Denis, tomstdenis@gmail.com, http://tom.gmail.com
*/
+#include <stdlib.h>
#include <time.h>
#include "tommath.h"