<netinet/in.h> and <resolv.h> are required for b64_ntop()/b64_pton(),
but there's nothing socket related here as far as I'm concerned.

Included since millert's sync in 2004 with FreeBSD which still has it.

No object change on amd64 and sparc64.

Feedback? OK?

Index: usr.bin/uudecode/uudecode.c
===================================================================
RCS file: /cvs/src/usr.bin/uudecode/uudecode.c,v
retrieving revision 1.23
diff -u -p -r1.23 uudecode.c
--- usr.bin/uudecode/uudecode.c 3 Jan 2016 14:43:20 -0000       1.23
+++ usr.bin/uudecode/uudecode.c 30 Dec 2018 02:11:51 -0000
@@ -35,7 +35,6 @@
  * Used with uuencode.
  */
 
-#include <sys/socket.h>
 #include <sys/stat.h>
 
 #include <netinet/in.h>
Index: usr.bin/uuencode/uuencode.c
===================================================================
RCS file: /cvs/src/usr.bin/uuencode/uuencode.c,v
retrieving revision 1.13
diff -u -p -r1.13 uuencode.c
--- usr.bin/uuencode/uuencode.c 9 Oct 2015 01:37:09 -0000       1.13
+++ usr.bin/uuencode/uuencode.c 30 Dec 2018 02:11:49 -0000
@@ -34,7 +34,6 @@
  * Encode a file so it can be mailed to a remote system.
  */
 
-#include <sys/socket.h>
 #include <sys/stat.h>
 
 #include <netinet/in.h>

Reply via email to