mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
321e5c8279
PR: ports/61262 Submitted by: Liam Foy <liamfoy@sepulcrum.org>
18 lines
590 B
C
18 lines
590 B
C
--- src/udphelper.c.orig Mon Jan 12 19:18:26 2004
|
|
+++ src/udphelper.c Mon Jan 12 19:19:22 2004
|
|
@@ -45,10 +45,10 @@
|
|
#endif
|
|
|
|
#if !defined(SIOCGLIFADDR) || !defined(SIOCGLIFFLAGS)
|
|
-/* FIXME The following warning occurs on FreeBSD:
|
|
- udphelper.c:48: warning: `SIOCGLIFADDR' redefined
|
|
- /usr/include/sys/sockio.h:78: warning: this is the location of the previous definition
|
|
- */
|
|
+/* Temp fix - suggested by author */
|
|
+#if defined(SIOCGLIFADDR)
|
|
+#undef SIOCGLIFADDR
|
|
+#endif
|
|
# define SIOCGLIFADDR SIOCGIFADDR
|
|
# define SIOCGLIFFLAGS SIOCGIFFLAGS
|
|
# define SIOCGLIFDSTADDR SIOCGIFDSTADDR
|