summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorfanf <fanf@FreeBSD.org>2002-10-09 20:42:40 +0000
committerfanf <fanf@FreeBSD.org>2002-10-09 20:42:40 +0000
commit945b6729d979af22d909eb560da53fb2f4d471df (patch)
tree3e2d264f087d31cdb7061cce6c487a7d5e325916 /games
parentc7f1a97230ee2fe689731659b3cff71addd6d7dc (diff)
downloadFreeBSD-src-945b6729d979af22d909eb560da53fb2f4d471df.zip
FreeBSD-src-945b6729d979af22d909eb560da53fb2f4d471df.tar.gz
Last commit was slightly hasty: #include <string.h> is required on
-CURRENT to be WARNS-safe (but not -STABLE for some reason)
Diffstat (limited to 'games')
-rw-r--r--games/primes/primes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/primes/primes.c b/games/primes/primes.c
index 6507627..c89817d 100644
--- a/games/primes/primes.c
+++ b/games/primes/primes.c
@@ -72,6 +72,7 @@ static const char rcsid[] =
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "primes.h"
OpenPOWER on IntegriCloud