summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/isprime.c1
-rw-r--r--tests/rand/t-urbui.c3
-rw-r--r--tests/rand/t-urmui.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/demos/isprime.c b/demos/isprime.c
index 05be57ceb..6d3ba21d5 100644
--- a/demos/isprime.c
+++ b/demos/isprime.c
@@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include <stdlib.h>
#include <stdio.h>
#include "gmp.h"
diff --git a/tests/rand/t-urbui.c b/tests/rand/t-urbui.c
index c515eb863..38f406808 100644
--- a/tests/rand/t-urbui.c
+++ b/tests/rand/t-urbui.c
@@ -1,6 +1,6 @@
/* Test gmp_urandomb_ui.
-Copyright 2003 Free Software Foundation, Inc.
+Copyright 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -20,6 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include "gmp.h"
#include "gmp-impl.h"
#include "tests.h"
diff --git a/tests/rand/t-urmui.c b/tests/rand/t-urmui.c
index 8f8e31cae..d8a2736ff 100644
--- a/tests/rand/t-urmui.c
+++ b/tests/rand/t-urmui.c
@@ -1,6 +1,6 @@
/* Test gmp_urandomm_ui.
-Copyright 2003 Free Software Foundation, Inc.
+Copyright 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -20,6 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include "gmp.h"
#include "gmp-impl.h"
#include "tests.h"