mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
Other Changes: - Remove unnecessary global BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS. - Redo patches to fix portlint warnings. - Fix linked library errors reported by poudriere. Remaining issue: - When the XMMS option is selected, xmms.so is linked to libraries in devel/glib12 and x11-toolkits/gtk12, but adding XMMS_USE=GNOME=glib12,gtk12 causes a build error. PR: 216670 Submitted by: ports@bsdserwis.com (maintainer) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9444
12 lines
249 B
C
12 lines
249 B
C
--- src/modbus.c.orig 2017-01-23 07:53:57 UTC
|
|
+++ src/modbus.c
|
|
@@ -26,6 +26,9 @@
|
|
#include "configfile.h"
|
|
#include "plugin.h"
|
|
|
|
+/* FreeBSD needs this */
|
|
+#include <sys/socket.h>
|
|
+
|
|
#include <modbus.h>
|
|
#include <netdb.h>
|
|
#include <sys/socket.h>
|