diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2010-01-11 22:12:29 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-01-11 23:07:30 +0100 |
commit | a820cf4ce0440bfc3d66c96a57f6ac660f83c210 (patch) | |
tree | 702547e77ab90c85180a6d71438c16082299656d | |
parent | 6823fbf05537ca88716f403235cea5e7064ef9b1 (diff) |
Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | src/print_wireless_info.c | 3 |
2 files changed, 4 insertions, 1 deletions
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 <michael@stapelberg.de> 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 <string.h> #include <ctype.h> #include <limits.h> + +#ifdef LINUX #include <iwlib.h> +#endif #include "i3status.h" |