summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rw-r--r--src/print_wireless_info.c3
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"