Edgar Pettijohn wrote: > --- dhclient.c.orig Thu Feb 4 17:57:41 2016 > +++ dhclient.c Thu Feb 4 17:57:55 2016 > @@ -57,7 +57,6 @@ > #include "privsep.h" > > #include <sys/types.h> > -#include <sys/socket.h> > #include <sys/ioctl.h> > #include <sys/uio.h> > > <sys/socket.h> is brought in through dhcpd.h
It'd probably be better to add <sys/socket.h> to all source files that need it and remove it from dhcpd.h. We've been moving toward including everything directly where it's needed. This makes builds faster and makes files more portable. ksh(1) and less(1) have been partially converted.