freebsd-ports/sysutils/ipmitool/files/patch-src__plugins__lan__lan.c
Greg Larkin d804999a0c - Patch the code to enable clean compiling on legacy (4.x) BSD systems.
PR:		ports/148269
Submitted by:	sbruno
Approved by:	Steve Polyack <spolyack at collaborativefusion dot com> (maintainer)
2010-07-28 14:04:20 +00:00

10 lines
313 B
C

--- ./src/plugins/lan/lan.c.orig 2009-02-25 15:38:53.000000000 -0500
+++ ./src/plugins/lan/lan.c 2010-07-23 14:46:07.000000000 -0400
@@ -36,6 +36,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>