diff options
author | max <max@FreeBSD.org> | 1997-02-01 02:54:12 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-02-01 02:54:12 +0000 |
commit | 0343f287943ab6f278c2b00756a6340c5eb7faa3 (patch) | |
tree | db6ba32e6f4cae39a0b49f5d1f7b9eaf5141ffe4 /games/backgammon | |
parent | 219bca6dedf4d92b04313c335f5cc4d8334feffb (diff) | |
download | FreeBSD-src-0343f287943ab6f278c2b00756a6340c5eb7faa3.zip FreeBSD-src-0343f287943ab6f278c2b00756a6340c5eb7faa3.tar.gz |
Include string.h for prototype of strdup().
Diffstat (limited to 'games/backgammon')
-rw-r--r-- | games/backgammon/backgammon/main.c | 1 | ||||
-rw-r--r-- | games/backgammon/common_source/subs.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/games/backgammon/backgammon/main.c b/games/backgammon/backgammon/main.c index d5b059c..6d18876 100644 --- a/games/backgammon/backgammon/main.c +++ b/games/backgammon/backgammon/main.c @@ -43,6 +43,7 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #include <stdio.h> #include <unistd.h> +#include <string.h> #include "back.h" #define MVPAUSE 5 /* time to sleep when stuck */ diff --git a/games/backgammon/common_source/subs.c b/games/backgammon/common_source/subs.c index 3c96026..7f46571 100644 --- a/games/backgammon/common_source/subs.c +++ b/games/backgammon/common_source/subs.c @@ -37,6 +37,7 @@ static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93"; #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "back.h" int buffnum; |