From: Axel Beckert Date: Mon, 11 Jan 2010 21:12:29 +0000 (+0100) Subject: Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only X-Git-Tag: 2.1~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a820cf4ce0440bfc3d66c96a57f6ac660f83c210;p=i3%2Fi3status Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only --- diff --git a/debian/control b/debian/control index 5071a9b..134690f 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: utils Priority: extra Maintainer: Michael Stapelberg DM-Upload-Allowed: yes -Build-Depends: debhelper (>= 5), libiw-dev, libconfuse-dev, asciidoc, xmlto +Build-Depends: debhelper (>= 5), libiw-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libconfuse-dev, asciidoc, xmlto Standards-Version: 3.8.3 Homepage: http://i3.zekjur.net/i3status diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index f7776c8..b8bdefe 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -4,7 +4,10 @@ #include #include #include + +#ifdef LINUX #include +#endif #include "i3status.h"