summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/isprime.c1
1 files changed, 1 insertions, 0 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"