diff --git a/games/atc/include.h b/games/atc/include.h index c21a9cc..2984ee1 100644 --- a/games/atc/include.h +++ b/games/atc/include.h @@ -56,6 +56,7 @@ #include #include #include +#include #include #include #include diff --git a/games/atc/lex.l b/games/atc/lex.l index 6474801..67b4e85 100644 --- a/games/atc/lex.l +++ b/games/atc/lex.l @@ -47,7 +47,6 @@ * For more info on this and all of my stuff, mail edjames@berkeley.edu. */ -#include #include "y.tab.h" #define YY_NO_UNPUT diff --git a/games/atc/log.c b/games/atc/log.c index bd89d43..59ad993 100644 --- a/games/atc/log.c +++ b/games/atc/log.c @@ -144,7 +144,7 @@ log_score(int list_em) struct passwd *pw; char *cp; SCORE score[100], thisscore; - struct utsname name; + struct utsname un; if (score_fp == NULL) { warnx("no score file available"); @@ -176,8 +176,8 @@ log_score(int list_em) } strcpy(thisscore.name, pw->pw_name); - uname(&name); - strcpy(thisscore.host, name.nodename); + uname(&un); + strcpy(thisscore.host, un.nodename); cp = rindex(filename, '/'); if (cp == NULL) { diff --git a/games/canfield/canfield/canfield.c b/games/canfield/canfield/canfield.c index aa1ff0c..759b8a1 100644 --- a/games/canfield/canfield/canfield.c +++ b/games/canfield/canfield/canfield.c @@ -56,6 +56,7 @@ #include #include #include +#include #include "pathnames.h" diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 22d9497..89ecad0 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -42,6 +42,7 @@ # include # include +# include # include # include diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 81d2e31..323d295 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -42,6 +42,7 @@ */ # include +# include # include # include # include diff --git a/games/fortune/unstr/unstr.c b/games/fortune/unstr/unstr.c index 48b2a56..2942a3a 100644 --- a/games/fortune/unstr/unstr.c +++ b/games/fortune/unstr/unstr.c @@ -55,6 +55,7 @@ */ # include +# include # include # include # include