games - misc - clean up compiler warnings
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Sep 2009 21:14:07 +0000 (14:14 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Sep 2009 21:14:07 +0000 (14:14 -0700)
Submitted-by: Ulrich Spoerlein <uqs@spoerlein.net>
games/atc/include.h
games/atc/lex.l
games/canfield/canfield/canfield.c
games/fortune/fortune/fortune.c
games/fortune/strfile/strfile.c
games/fortune/unstr/unstr.c

index 2984ee1..c21a9cc 100644 (file)
@@ -56,7 +56,6 @@
 #include <pwd.h>
 #include <signal.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 #include <termios.h>
 #include <unistd.h>
index 6474801..67b4e85 100644 (file)
@@ -47,7 +47,6 @@
  * For more info on this and all of my stuff, mail edjames@berkeley.edu.
  */
 
-#include       <unistd.h>
 #include       "y.tab.h"
 
 #define                YY_NO_UNPUT
index aa1ff0c..759b8a1 100644 (file)
@@ -56,6 +56,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
+#include <time.h>
 
 #include "pathnames.h"
 
index 22d9497..89ecad0 100644 (file)
@@ -42,6 +42,7 @@
 
 # include      <sys/param.h>
 # include      <sys/stat.h>
+# include      <netinet/in.h>
 
 # include      <dirent.h>
 # include      <err.h>
index 81d2e31..323d295 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 # include      <sys/param.h>
+# include      <netinet/in.h>
 # include      <stdbool.h>
 # include      <stdio.h>
 # include       <stdlib.h>
index 48b2a56..2942a3a 100644 (file)
@@ -55,6 +55,7 @@
  */
 
 # include      <sys/param.h>
+# include      <netinet/in.h>
 # include      <stdio.h>
 # include      <ctype.h>
 # include      <stdlib.h>