]> git.sur5r.net Git - i3/i3status/commitdiff
Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only
authorAxel Beckert <abe@deuxchevaux.org>
Mon, 11 Jan 2010 21:12:29 +0000 (22:12 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 11 Jan 2010 22:07:30 +0000 (23:07 +0100)
debian/control
src/print_wireless_info.c

index 5071a9b95ee3bddd64b99a7771e2df3c5bcfd2fe..134690fb2a9e78603f5c7b1903e3f9124bac3029 100644 (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
 
index f7776c89f27cff33fbccb4719ea87e941db9a1ca..b8bdefe91e5f0c5561f0ea8d5f1cb2c4893061ef 100644 (file)
@@ -4,7 +4,10 @@
 #include <string.h>
 #include <ctype.h>
 #include <limits.h>
+
+#ifdef LINUX
 #include <iwlib.h>
+#endif
 
 #include "i3status.h"