Remove #include workarounds; no binary change.

cheers,
natano


Index: common/exf.c
===================================================================
RCS file: /cvs/src/usr.bin/vi/common/exf.c,v
retrieving revision 1.32
diff -u -r1.32 exf.c
--- common/exf.c        14 Nov 2014 20:23:56 -0000      1.32
+++ common/exf.c        15 Nov 2014 20:58:04 -0000
@@ -15,13 +15,6 @@
 #include <sys/queue.h>
 #include <sys/stat.h>
 
-/*
- * We include <sys/file.h>, because the flock(2) and open(2) #defines
- * were found there on historical systems.  We also include <fcntl.h>
- * because the open(2) #defines are found there on newer systems.
- */
-#include <sys/file.h>
-
 #include <bitstring.h>
 #include <dirent.h>
 #include <errno.h>
Index: ex/ex_script.c
===================================================================
RCS file: /cvs/src/usr.bin/vi/ex/ex_script.c,v
retrieving revision 1.21
diff -u -r1.21 ex_script.c
--- ex/ex_script.c      12 Nov 2014 16:29:04 -0000      1.21
+++ ex/ex_script.c      15 Nov 2014 21:12:52 -0000
@@ -24,10 +24,10 @@
 #include <bitstring.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <stdio.h>             /* XXX: OSF/1 bug: include before <grp.h> */
 #include <grp.h>
 #include <limits.h>
 #include <poll.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <termios.h>

Reply via email to