diff options
Diffstat (limited to 'games/fortune')
-rw-r--r-- | games/fortune/fortune/fortune.c | 3 | ||||
-rw-r--r-- | games/fortune/strfile/strfile.c | 1 | ||||
-rw-r--r-- | games/fortune/unstr/unstr.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 844892f..2cd7de7 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -48,9 +48,10 @@ static const char rcsid[] = "$FreeBSD$"; #endif /* not lint */ -# include <sys/param.h> # include <sys/stat.h> +# include <arpa/inet.h> + # include <dirent.h> # include <fcntl.h> # include <assert.h> diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 607f572..7dfd9cf 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -50,6 +50,7 @@ static const char rcsid[] = #endif /* not lint */ # include <sys/param.h> +# include <arpa/inet.h> # include <stdio.h> # include <stdlib.h> # include <ctype.h> diff --git a/games/fortune/unstr/unstr.c b/games/fortune/unstr/unstr.c index 8d4a572..2f5fff0 100644 --- a/games/fortune/unstr/unstr.c +++ b/games/fortune/unstr/unstr.c @@ -63,6 +63,7 @@ static const char rcsid[] = */ # include <sys/param.h> +# include <arpa/inet.h> # include <stdio.h> # include <ctype.h> # include <string.h> |