[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 01/01: Fix OpenBSD build

noreply at xfce.org noreply at xfce.org
Fri Nov 17 17:32:48 CET 2017


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-wavelan-plugin.

commit 40cc67aa1b70134c3857d5c63321ee4f0a1f28be
Author: Romain B <skunnyk at alteroot.org>
Date:   Fri Nov 17 17:31:00 2017 +0100

    Fix OpenBSD build
    
    - Broken by the FreeBSD fix, missing ifdef.
---
 panel-plugin/wi_bsd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/panel-plugin/wi_bsd.c b/panel-plugin/wi_bsd.c
index e796db6..921ef04 100644
--- a/panel-plugin/wi_bsd.c
+++ b/panel-plugin/wi_bsd.c
@@ -379,6 +379,8 @@ _wi_getval(const struct wi_device *device, struct wi_req *wr)
 }
 #endif
 
+#if defined(__NetBSD__) || defined(__FreeBSD__) ||  defined(__FreeBSD_kernel__)
+
 static int
 _wi_netname(const struct wi_device *device, char *buffer, size_t len)
 {
@@ -483,4 +485,5 @@ _wi_rate(const struct wi_device *device, int *rate)
   return(WI_OK);
 }
 
+#endif  /* defined(__NetBSD__) || || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) */
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list