From a820cf4ce0440bfc3d66c96a57f6ac660f83c210 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Mon, 11 Jan 2010 22:12:29 +0100 Subject: [PATCH] Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only --- debian/control | 2 +- src/print_wireless_info.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" -- 2.39.5