opnsense-ports/sysutils/openipmi/files/patch-lanserv_extcmd.c
Franco Fichtner 70ce5f8205 */*: sync with upstream
Taken from: FreeBSD
2015-07-31 08:03:52 +02:00

15 lines
407 B
C

--- lanserv/extcmd.c.orig 2015-07-30 03:31:16 UTC
+++ lanserv/extcmd.c
@@ -52,10 +52,11 @@
* products derived from this software without specific prior
* written permission.
*/
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <netinet/ether.h>
+#include <net/ethernet.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>