Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only

This commit is contained in:
Axel Beckert 2010-01-11 22:12:29 +01:00 committed by Michael Stapelberg
parent 6823fbf055
commit a820cf4ce0
2 changed files with 4 additions and 1 deletions

2
debian/control vendored
View File

@ -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

View File

@ -4,7 +4,10 @@
#include <string.h>
#include <ctype.h>
#include <limits.h>
#ifdef LINUX
#include <iwlib.h>
#endif
#include "i3status.h"