Get socket and locking stuff by including <sys/socket.h> and <sys/lock.h>,

not by including <sys/mount.h> and depending on namespace pollution in it.
This commit is contained in:
bde 1998-03-28 08:07:12 +00:00
parent 7aec6a14d8
commit f6e8fc035e

View File

@ -32,6 +32,7 @@
#endif
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/lock.h>
#include <sys/stat.h>
#include <sys/proc.h>
#include <sys/uio.h>
@ -39,7 +40,7 @@
#include <sys/vnode.h>
#include <sys/namei.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/socket.h>
#include <sys/exec.h>
#include <sys/mbuf.h>
#if BSD >= 199506