mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
Pass maintainership to submitter PR: 230052 Submitted by: Vinícius Zavam <egypcio@googlemail.com> Sponsored by: Rubicon Communications, LLC (Netgate)
21 lines
530 B
C
21 lines
530 B
C
--- lanserv/extcmd.c.orig 2018-07-30 08:08:12 UTC
|
|
+++ lanserv/extcmd.c
|
|
@@ -53,16 +53,11 @@
|
|
* written permission.
|
|
*/
|
|
#include <config.h>
|
|
+#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
-#ifdef HAVE_NETINET_ETHER_H
|
|
-#include <netinet/ether.h>
|
|
-#elif defined(HAVE_SYS_ETHERNET_H)
|
|
-#include <sys/ethernet.h>
|
|
-#else
|
|
-#error "either netinet/ether.h or sys/ethernet.h must exist."
|
|
-#endif
|
|
+#include <net/ethernet.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
#include <errno.h>
|